Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/u591492611/domains/codeone.in/public_html/application/third_party/google-login-api/service/apiUtils.php on line 58
CodeOne
CodeOne
JAVASCRIPT COMMENTS  JAVASCRIPT COMMENTS 
Sunday, 30 May 2021 23:30 pm
CodeOne

CodeOne

JAVASCRIPT COMMENTS 

Comments means if you write a script in a file may be that related to logic or that related to path information.

If you mention information as some text related to that logic  for furture reference , in future these may helps to remember that logic.

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

TWO TYPES OF COMMENTS ARE PRESENT IN JAVASCRIPT

1. Single line Comments

//

2. Multiple line Comments

/*