Main Menu

Categories

Subscribe

JavaScript Variable Typing

March 15th, 2009

JavaScript is an untyped language, this means that a variable in JavaScript can hold a value of any data-type such as a number, string or boolean etc after it has been declared.

Example

var = 7;
var = true;

No Comments

Leave a Reply