Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 248 Bytes

compoundAssignment.md

File metadata and controls

11 lines (7 loc) · 248 Bytes

Compound Assignment

Another example of concept I know but didn't know the proper term.

Operations using compound operators +=, -=, *= to combine a math operation and an assignment.

Example:

a += 2 //Equivalent of a = a + 2;