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 ...
Get JavaScript Step by Step now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.