Which one of the following symbol is used for creating comments in the javascript:
- \
- //
- * *\
- * */
Which one of the following symbol is used for creating comments in the javascript:
2nd option is correct
// this symbol is used for comment in JS
ex:
for(var i=0;i<n;i++){
//alert("Value of i is:",i);
{