Three Important JavaScript Concepts


Statements and Expressions The MDN documentation defines JavaScript expressions as any valid unit of code that resolves to a value. The first expression has value 1 which is then assigned to variable a while the second has value 7 which is not assigned to anything. Since expressions evaluate to values (numbers, strings, functions etc), they can be substituted anywhere these … Continue reading Three Important JavaScript Concepts