Run ❯
Get your
own
website
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
JavaScript Operators
The ++ Operator
y = 5, calculate x = ++y:
Note:
y is incremented before it is assigned to x (pre-incremented).
.