Variables are loosely typed. : Introdunction : Number Data Type JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Number Data Type » Introdunction »

 

Variables are loosely typed.








variables in JavaScript are not given a specific type.

Each variable is defined using the var operator and can be initialized with any value.








var color = "red";
var num = 25;
var visible = true;







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Number Data Type
» Introdunction