Hour 5. Numbers and Strings
What You’ll Learn in This Hour:
The numeric and string data types supported by JavaScript
Conversion between data types
How to manipulate strings
We use the term data type to talk about the nature of the data that a variable contains. A string variable contains a string, a number variable, a numerical value, and so forth. However, the JavaScript language is what’s called a loosely typed language, meaning that JavaScript ...
Get JavaScript in 24 Hours, Sams Teach Yourself, Sixth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.