Last active
March 30, 2017 12:03
-
-
Save yotamorimoto/2273872 to your computer and use it in GitHub Desktop.
コメントとnil
This file contains hidden or 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
| // はコメント | |
| /* は複数行に | |
| わたる | |
| コメント */ | |
| // 1 + 1; コメントは実行すると常に Nil (無)値が返ってくる | |
| 下記を実行 | |
| 1 + 2 // + 1 プログラムに影響しない |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment