O'Reilly logo

JavaScript Step by Step by Steve Suehring

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. JavaScript syntax and statements

After completing this chapter, you will be able to

  • Understand the basic rules of using the JavaScript programming language.

  • Place JavaScript correctly within a webpage.

  • Recognize a JavaScript statement.

  • Recognize a reserved word in JavaScript.

A bit of housekeeping

The rest of the book looks more closely at specific aspects of JavaScript and how they relate to specific tasks. However, you must walk before you can run, so before examining JavaScript in more depth, you should learn some of its lexical structure—that is, the rules of the language, also known as syntax rules.

Case sensitivity

JavaScript is case sensitive. You must be aware of this when naming variables and using the language keywords. A variable ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required