JavaScript tutorial to write variables and comments in JavaScript. Variable names can contain letters, digits, underscore (_) and dollar sign ($). The names must start with a letter, underscore or a dollar sign.
Examples
var a = 9;
var employee_name = "john doe";
Comments:-
Single line comments begin with //, everything after until end of line is ignored
//this is a single line comment
Multi line comments begin with /* and end with */. Everything that comes in between is ignored.
/*
This is a multiline comment
*/
On this page of the site you can watch the video online JavaScript Tutorial 1 - JavaScript Comments and Variables with a duration of hours minute second in good quality, which was uploaded by the user Struct Feed 28 May 2011, share the link with friends and acquaintances, this video has already been watched 961 times on youtube and it was liked by 10 viewers. Enjoy your viewing!