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.

Run code using a REPL

Run code using a REPL

- Alright, so now that we've taken our little tour of the JavaScript universe, what we're going to start doing now is getting our hands dirty and learning how to actually write simple JavaScript code. Now, later on in the course, we'll be writing full JavaScript programs that we can run either in our browser or on a server using Node.js. But for now, while we're still learning the basic syntax of JavaScript, it'll be much easier if we simply run our code in the console, read-evaluate-print loop style. And in case you don't know what that means, you'll see in just a minute here. Now, what we're going to see here is also going to be really helpful for you in the sections that follow, when we talk about the basic syntax of JavaScript, different data types, things like that. I highly recommend that as you go through those slides, you actually type out and run each of the code examples that we'll be looking at, so that you can really get the hang of JavaScript's syntax and just what it…

Contents