Mega Code Archive

 
Categories / JavaScript Tutorial / Number Data Type
 

Type Conversion

JavaScript allows a variable to hold any data type at any time. A variable can be assigned a string initially and then be reassigned to an integer. JavaScript also attempts to perform all necessary type conversions.