June 2025
Intermediate to advanced
837 pages
24h 50m
English
The best way to predict the future is to shape it yourself.—Alan Kay
One of the most common criticisms of JavaScript is that the language has no data types. However, this statement is only partially correct. JavaScript knows a number of primitive as well as composite data types. The primitive types include character strings, Booleans, numbers, symbols, null, and undefined. The composite types are objects, arrays, sets, and maps. However, when working with JavaScript, you get little support from the engine itself. It throws TypeErrors at most if you try to use data types incorrectly. Nevertheless, you can also use types in pure JavaScript.
The source code shown in Listing 13.1 is interrupted in two places. ...
Read now
Unlock full access