Comments in JavaScript

preview_player
Показать описание
JavaScript comments can be used to explain JavaScript code, and to make it more readable.

JavaScript comments can also be used to prevent execution, when testing alternative code.

There are two types of comments Single lined and multi lined comment.
Single lined comment can be written by using // before writing the actual comment. Multi lined comment needs to be written between /* comment */. Hope the video explains everything very properly. Feel free to give suggestions about any thing in the comment box.
Рекомендации по теме
welcome to shbcf.ru