Type in the words(s) to search for:

    Mark results
      Userbooster Help

      var, variable Statement

      Declares a variable.

      var variable1
          [ = value1 ]
              [, variable2
                  [ = value2],
                          ...]

      Arguments

      variable1, variable2

      Names of declared variables.

      value1, value2

      Initial values of the variables.

      Example

      var s = "some string";
      var i = 0, i, k = 12;
      variable z;