From the course: Learn JavaScript: Write Modern Code with JavaScript ESNext

Unlock this course with a free trial

Join today to access over 25,000 courses taught by industry experts.

Learning objectives

Learning objectives

- Welcome to lesson two, learn the eight JavaScript data types. In this lesson, you'll learn the basics of creating and using JavaScript variables, as well as JavaScript's eight basic data types, as the name would suggest. Now, by the end of the lesson, you'll have a foundational knowledge of how all the different data types work in JavaScript, as well as some things to be aware of with each of them. So as for the structure of this section, we start by taking a look at the basic syntax for defining variables in JavaScript, as well as briefly look at what the eight data types are. From there, we move on to a more in-depth look at each of those data types and those that will include things like JavaScript's number type, the string type, the Boolean type, and many other types as well. Now, all of these data types are sort of the foundation that the rest of the content will learn in this course is built off of. So throughout the section you'll see plenty of examples of each data type, and…

Contents