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 three, learn basic JavaScript syntax. In this lesson, you get an extensive overview of the basic control flow syntax of JavaScript, including topics such as looping, throwing errors, and variable scoping, as well as how to work effectively with truthy and falsey values in JavaScript. Now, by the end of the lesson, you'll have a deep knowledge of the basic syntax of JavaScript, and you'll be well on your way to writing your own JavaScript programs to solve problems in a variety of situations. Now, as far as the structure of this lesson, we start by learning about equality, which is a very important and sometimes tricky topic in JavaScript. And then we move on to different ways that we use equality, such as if statements for and while loops, switch case blocks, and ternary operators. And last but not least, we close out the section by learning about the difference between functions scoped and block scoped variables. Now, throughout all of these, there are plenty of…

Contents