JAVASCRIPT COMMENTS
JAVASCRIPT COMMENTS
- By Mohammad --
- Monday, 31 May, 2021
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
/*