statement javascript
// STATEMENT: Code that performs actions (generally something that ends in ";"
// example:
const str = `String assigned to str`;
// EXPRESSION: Code that produces a value
// example(s):
3 + 4
1991
true && false && false
3.5
2
JavaScript statements are composed of Expressions.
All expressions are statements composed of Expressions.
A statement is a bunch of statments but
statements are not a bunch of statements.
Some statements are not really statements.
Thank you!
2
0
Are there any code examples left?
New code examples in category Javascript