Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

4.5. Expressions and Evaluation¶

/*Since evaluating an expression produces a value, expressions can 
appear on the right-hand side of assignment statements.*/

let sum = 1 + 2;
console.log(sum);

//3
Source by education.launchcode.org #
 
PREVIOUS NEXT
Tagged: #Expressions
ADD COMMENT
Topic
Name
7+4 =