LoginSignup
0
0

More than 3 years have passed since last update.

JavaScript基本文法

Last updated at Posted at 2020-11-05

関数宣言

function 関数名(仮引数,仮引数,....){
処理;
処理;
return 返り値;
(return以降の処理は実行されない)
}

呼び出し

関数名(実引数,実引数,...);

関数式 ↓無名関数

const 定数名 = function(仮引数,仮引数,....){
処理;
処理;
return 返り値;
(return以降の処理は実行されない)
};

呼び出し

定数名(実引数,実引数,...);

0
0
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
0
0