Say hello to JavaScript

Let us see a simple programe to alert " Hi Dude"

Hi Dude

'Comments' in JavaScript

Just like any other programming languages comments are used to explain code and make easy to understand the programming logic

Single Line Comments(//)

To make Single line text as Commensts, we use double slash(//)

single line commnet

Multi-line Comments(/* --- */)

To make more than one line text as Commnets,/* at start and */ at end

Multi line commnet

Tip : Always use Correct Commenting system to make your code very easy to understand .