Added Example and work of += operator (#23826)
* Added Example and work of += operator * Fixed formattingpull/22956/head^2
parent
0cecde85d8
commit
e2fe9d1fc5
|
@ -22,6 +22,10 @@ While most of the operations are self-explanatory, the Conditional (Ternary) Ope
|
||||||
|
|
||||||
`expression that results in boolean output ? return this value if true : return this value if false;`
|
`expression that results in boolean output ? return this value if true : return this value if false;`
|
||||||
|
|
||||||
|
The Assignment operators (`+=`, `-=`, `*=`, `/=`, `%=`, `<<=`, `>>=`, `&=`, `^=`, `|=`) are just a short form which can be extended.
|
||||||
|
Example:
|
||||||
|
(`a += b`) does the same thing as (`a = a + b`)!
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
True Condition:
|
True Condition:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue