Back to Browse

JavaScript Tutorial 1 - JavaScript Comments and Variables

962 views
May 28, 2011
6:25

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 */

Download

1 formats

Video Formats

360pmp48.0 MB

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

JavaScript Tutorial 1 - JavaScript Comments and Variables | NatokHD