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 1 year has passed since last update.

JavaScript コメントアウト (コメントの書き方)

Posted at

Jabascript コメント

JavaScriptのプログラムファイルには、コンピュータが実行をスルーしてくれる人間のためのメモ書きを記述できる

下記のようにかくと、
//
以降の文章が、コメントアウト(コンパイラが、コメントとして認識)される

// コメント

下記のように書くと、
/*

*/
の間の文章が、コメントアウトされる

/*
コメント
*/
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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?