Expressions and Operators Reference

Expressions in JavaScript evaluate to produce values. Operators used with them perform operations that return values. For example, using the addition operator (+), the expression x + y returns the sum of the numbers. Note that some expressions do not use operators; we'll cover this later in the course. This section presents a list of operators used in the JavaScript language. We will not use all of them in this introductory course. However, this is a great interactive reference, and you can run the examples. Pay special attention to the relational operators because you will use them in Unit 4.

Expressions and operators

This chapter documents all the JavaScript language operators, expressions and keywords.


Source: Mozilla, https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators
Creative Commons License This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.