12. Of Pizza, Types, Primitives, and Objects

This Chapter

  • Understand what all this fuss about Objects is about

  • Learn about the basic types you’ll run into in JavaScript

  • Find out that pizza has an educational value beyond just being deliciously awesome

It’s time to get serious. Srsly! In the past few chapters, we’ve been working with all kinds of values. We’ve worked with strings (text), numbers, booleans (aka true and false), functions, and various other built-in things that are part of the JavaScript language.

Following are some examples to jog our memory:

let someText = "hello, world!";
let count = 50;
let isActive = true;

Unlike other languages, JavaScript makes it really easy to specify and use these ...

Get JavaScript Absolute Beginner's Guide, 2nd 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.