2. Syntax
JavaScript has a syntax similar to C but has a few unique features.
2.1 Instruction
Unlike C, the semicolon that marks the end of an instruction is optional: an end of line can therefore mean the end of an instruction. Any instruction written on more than one line (figure 1 a) can thus be misunderstood (figure 1 a) and may be interpreted by explicitly marking the ends of instructions with semicolons, as in figure
Exclusive to subscribers. 97% yet to be discovered!
Already subscribed? Log in!
Syntax
Article included in this offer
"Software technologies and System architectures"
(
229 articles
)
Updated and enriched with articles validated by our scientific committees
A set of exclusive tools to complement the resources
Bibliography
- (1) - SELF UNGAR (D.), SMITH (R.B.) - Self : The Power of Simplicity. - OOPSLA '87 Conference Proceedings, pp. 227-241, Orlando, FL, October 1987
Standards
- ECMAScript® 2016 language specification - ECMA-262 - 2016
- IEEE Standard for the Scheme Programming...
Exclusive to subscribers. 97% yet to be discovered!
Already subscribed? Log in!