JavaScript primitive values, Booleans, numbers, and strings, are pseudo-objects : Introdunction : Number Data Type JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Number Data Type » Introdunction »

 

JavaScript primitive values, Booleans, numbers, and strings, are pseudo-objects







They actually have properties and methods.








var sColor = "blue";
alert(sColor.length);    //outputs "4"







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Number Data Type
» Introdunction