JavaScriptDeclarations and Assignments

Download JavaScript for free

Syntax

  • var foo [= value [, foo2 [, foo3 ... [, fooN]]]];
  • let bar [= value [, bar2 [, foo3 ... [, barN]]]];
  • const baz = value [, baz2 = value2 [, ... [, bazN = valueN]]];

Remarks

See also:

Related Examples

Assignment