1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

WIP: JavaScriptの関数 書き方メモ

Last updated at Posted at 2017-11-22

関数について

JavaScript

通常の関数

function kono (){
  console.log('hageee');
}

kono();

有名関数

var chigaudaro = function kono (){
  console.log('hageee');
};

無名関数

var kono = function (){
  console.log('hageee');
};

即時関数

(function kono(){
  console.log('hageee');
})();

jQuery

$(function(){
  console.log('hageee');
});
jQuery(function(){
  console.log('hageee');
});

$ = jQuery

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?