0
0

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 3 years have passed since last update.

関数の呼び出し[Javascript]

Posted at

#Javascript ~関数の呼び出し~
関数を定義しただけでは、その中の処理は実行されない。図のように、関数を定義した際に使用した定数名を用いて、「定数名()」と書くことで関数の中の処理を実行できる
46e36760d965e0fe3fadf99676883857.png
6c9e37b2b045ca7f070adb4c6ae2ae5e.png
##引数を受け取る関数の定義
(引数名) =>」と括弧の中に引数名を書くことで引数を受け取ることができる
1529043476847.png
1529044955793.png
#以上!

0
0
1

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?