Javascript math operator | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

Javascript math operator

I don't get it;wt is the useful of Increment ++ and decrement ++ i need an example

5th Sep 2020, 7:28 AM
Rehaf Bushara
Rehaf Bushara - avatar
2 Respuestas
0
It uses when u need to go ahead on a list or group of things.. the increment ++ means +1 at every time, when used inside loop it will repeat as long as the loop length .. but if u ask about the diff btwn ++i & i++ that's is ++i incrementing before lunch the statement but i++ increment after
6th Sep 2020, 5:47 AM
حرم دفع الله
حرم دفع الله - avatar