Chapter 3. JavaScript Syntax and Statements
After reading this chapter, you'll be able to
Understand the basic rules of using the JavaScript programming language.
Place JavaScript correctly within a Web page.
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. The programmer must be aware of this fact when naming variables and using the language keywords. ...
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.