Back to Browse

Comments in Javascript, Types of Comments - Learn JavaScript in Hindi

943 views
Jun 25, 2018
5:42

The JavaScript comments are meaningful way to deliver message. It is used to add information about the code, warnings or suggestions so that end user can easily interpret the code. The JavaScript comment is ignored by the JavaScript engine i.e. embedded in the browser. Advantages of JavaScript comments There are mainly two advantages of JavaScript comments. To make code easy to understand It can be used to elaborate the code so that end user can easily understand the code. To avoid the unnecessary code It can also be used to avoid the code being executed. Sometimes, we add the code to perform some action. But after sometime, there may be need to disable the code. In such case, it is better to use comments. /*******************************************\ HTML Tutorials - https://www.youtube.com/watch?v=5bl0WBYpHwY&list=PLAsPrIlN9FQc8lM1vSDAEaad6ATR6whMd CSS Tutorials - https://www.youtube.com/watch?v=co7hE1SETtk&list=PLAsPrIlN9FQcE--Ne4DoevQC0b4DGccMu JavaScript Tutorials - https://www.youtube.com/watch?v=gqkZWflk1n0&list=PLAsPrIlN9FQfd_svxJfnZH4gCktAByogp HTML and CSS - https://www.youtube.com/watch?v=TUIcf_c2Dc4&list=PLAsPrIlN9FQer6BxDBZPtT5JXHaQZNA9g /*******************************************\ Tags : javascript comments best practices multiline comment java comment in java html comments javascript function comments javascript array css comments what is the correct way to write a javascript array?

Download

1 formats

Video Formats

360pmp49.9 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Comments in Javascript, Types of Comments - Learn JavaScript in Hindi | NatokHD