comments in javascript

JavaScript Comments

Not all JavaScript statements are “executed”. Code after a double slash //, or between /* and */, is treated as a comment. JavaScript Comments are ignored, and are not executed. Advantages of JavaScript Comments There are mainly two advantages of JavaScript comment. To make code easy to understand It can be used to elaborate the code …

JavaScript Comments Read More »