A.1. Syntax
An ECMAScript program consists of lines of ECMAScript code separated by either a new line or a semicolon. Each line represents a declaration, an assignment, a control-flow statement, or a function call. Each of these lines typically contains, amongst other things, expressions - ECMAScript “phrases” that can be evaluated.
As in most languages, there is a set of reserved words that define atomic language operations and language features. The ECMAScript reserved words are shown in Table A-1.
abstract | else | int | super |
boolean | extends | interface | switch |
break | false | labeled | syncronized |
byte | final | long | this |
case | finally | native | throw |
catch | float | new | throws |
char | for | null | transient |
class | function | package | true |
const | goto | private | try |
continue |
Get Definitive VoiceXML™ 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.