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.
Learn basic JavaScript syntax - JavaScript Tutorial
From the course: Learn JavaScript: Write Modern Code with JavaScript ESNext
Learn basic JavaScript syntax
- All right, so now that we've seen the basics of using JavaScript in the Chrome console, which again, I would highly recommend that you follow along, including in this video if you want, before we jump into learning about all of the data types and more complex syntax for JavaScript, there are a few very general things that you should know about writing JavaScript code. And these things are what you see on the slide. The first is we're going to take a look at the basic syntax for writing statements in JavaScript. Then we're going to take a look at how to write comments in JavaScript. And finally, we're going to see how to print things to the console in JavaScript when we have some sort of result that we want to make visible. Now depending on which language you're coming to JavaScript from, the exact details of these three things might be a little different than what you're used to, but chances are that you've at least dealt with them before. So let's start off with the basic syntax of…
Contents
-
-
-
Learning objectives1m 26s
-
(Locked)
Learn what you can do with JavaScript9m 6s
-
(Locked)
Look at JavaScript’s language features10m 1s
-
(Locked)
Learn the pros and cons of JavaScript11m 40s
-
(Locked)
Learn the JavaScript dialects and browser compatibility10m 40s
-
(Locked)
Run code using a REPL6m 54s
-
(Locked)
Learn basic JavaScript syntax7m 8s
-
-
-
-
-
-
-
-
-
-
-
-