// is used for line comments ex:- var x=10; //comment text /* */ is used for block comments
ex:-
var x= 10; /* this is block comment example.*