Skip to content

Instantly share code, notes, and snippets.

@yotamorimoto
Last active March 30, 2017 12:03
Show Gist options
  • Select an option

  • Save yotamorimoto/2273872 to your computer and use it in GitHub Desktop.

Select an option

Save yotamorimoto/2273872 to your computer and use it in GitHub Desktop.
コメントとnil
// はコメント
/* は複数行に
わたる
コメント */
// 1 + 1; コメントは実行すると常に Nil (無)値が返ってくる
下記を実行
1 + 2 // + 1 プログラムに影響しない
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment