0
JS- Is there a command to increment or decrement by x?
We know ++ increases by 1, but what if I want to increase by .5 or 2.
2 ответов
+ 4
i += 5
u can use this to increament a number by 5
+ 1
Thanks I will have to try that.
We know ++ increases by 1, but what if I want to increase by .5 or 2.