Two forward slashes (//) begin single-line Javascript comments. Even if the commented text contains forward slashes, every content after the two forward slashes until the end of a line constitutes a comment.
In JavaScript, there are two types of comments.
Single-line remark
Comment with several lines.
Place two slashes "//" in front of the code or text you want the JavaScript interpreter to disregard to make a single line comment in JavaScript.
One or more lines of narrative are contained within a set of comment delimiters in multi-line comments. The comment begins with the /* delimiter and ends with the */ delimiter. Anything between those delimiters is considered a comment, therefore your comment can span numerous lines.
There is no distinction at all. All comments are eliminated such that they have no effect on the programme during execution, regardless of their format.
Learner's Ratings
4.8
Overall Rating
79%
20%
0%
1%
0%
Reviews
A
Anmol
5
Best courses ever.True words
T
tejas jagtap
5
best
A
Anmol
5
I have completed this course . This is the best course to learn javascript with easy explanation. Thanks LearnVern for this course.
A
Ashish Kumar
5
I love this "LearnVern" course
A
Ajinkya Shitole
5
I like the program this is online platform
A
Abhishek Meena
4
Very well explained
V
VIJAY BHAJANTRI
4
-
A
Ankit Jangid
5
This course is very helpfull.And way of teaching is very beautyfull and knowlagable.
Thank you sir.
N
Naeem Akhter
5
i love this couse
the teaching way is easy and effective
Share a personalized message with your friends.