Compound assignment operators : Arithmetic operator : Operators JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Operators » Arithmetic operator »

 

Compound assignment operators














Compound assignment operators exist for each of the major mathematical operations and a few others as well:

Multiply/Assign (*=)

Divide/Assign (/=)

Modulus/Assign (%=)

Add/Assign (+=)

Subtract/Assign (-=)

Left Shift/Assign (

Signed Right Shift/Assign (>>=)

Unsigned Right Shift/Assign (>>>=)





HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Operators
» Arithmetic operator