Created
September 22, 2011 04:12
-
-
Save yuppism/1234014 to your computer and use it in GitHub Desktop.
関数を定義する方法その2 (無名関数を使う)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var speak = function (){ alert("hello"); } | |
speak(); // "hello"と出力 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment