Setting up Your Environment
Variables and Data Types
In addition to objects that are predefined in the browser, you can define your own objects. This chapter describes how to use objects, properties, and methods, and how to create your own objects.
Resources for Learning More
Var is the old way of declaring variables, while let and const were introduced in ES6. Let allows you to declare variables that can be reassigned, while const creates variables that cannot be reassigned.