CSE 121B: JavaScript Language

JavaScript Operators

Overview

In programming, operators are special symbols (characters) that are used to perform operations on operands (variables and values). Most operators are used to perform mathematical operations such as addition, subtraction, multiplication, etc. However, there are other operators that are used to perform other operations such as assignment, comparison, logical, string, conditional, etc.

Prepare

It is essential if fundamental programming that you understand the available operators.

  1. Reference 📑JavaScript Operators Reference - w3schools.com
  2. Reference 📑More depth reference on Expressions and Operators

Check Your Understanding

  1. Operators and Comparisons - practice answering the questions and reviewing the examples.

🤿Optional Resources

TYPES of Operators: