A view of tower tops above a bank of clouds

Operands and operators are the elemental forces of JavaScript. By combining them, you create expressions, the basic building blocks of code. As such, understanding operators and operands is key to coding your own scripts.

This reading list currently covers the most common operators, but remains under construction: in particular, bitwise, ternary and JS2015 operators have yet to be addressed. These will be added in the very near future: for now, there is plenty of material here to start your own scripts.

Prerequisites: JavaScript Fundamentals

Estimated time: 1 hour

  1. Introduction
  2. Arithmetic Operators
  3. Assignment Operators
  4. Equality Comparison Operators
  5. Relational Operators
  6. Logical Operators
  7. The Ternary Operator

Photograph by Archigeek, licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 2.0 Generic license.

Enjoy this piece? I invite you to follow me at twitter.com/dudleystorey to learn more.