Typical Operators Edit

  • Addition +
  • Subtraction -
  • Multiplication *
  • Division /
  • Modulus %

Shortcut Operators Edit

Variables can be used in an expression where the result is stored in the variable again.

var i = 2;
i = i + 5

This can be simplified in some languages to make it easier write.

  • Addition: +=
  • Subtraction: -=
  • Multiplication: *=
  • Division: /=
var i = 2;
i += 5

Unary Operators Edit

using a counter is quite common in many programming tasks.


increases the count by one.


decreases the count by one.

These are most commonly seen in For loops

See Also Edit

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.