Contents at a Glance
4 Conditional Statements: If, Else, and Switch
5 Meet the Loops: For, While, and Do...While!
9 Where Should Your Code Live?
Part II It’s an Object-Oriented World
11 Of Pizza, Types, Primitives, and Objects
13 When Primitives Behave Like Objects
18 Booleans and the Stricter === and !== Operators
20 Immediately Invoked Function Expressions
21 JS, The Browser, and The DOM
Get JavaScript Absolute Beginner’s Guide 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.