Division?
Just another math stuff:
Explanation
- We are trying to use number as an array. Nothing good will happen this way.
a[a]
will returnundefined
anda[a]/a[a]
will return NaN (it is definitely not a number!)- Comparing NaN with NaN will return
false
and after inversion it will betrue
. After that — we add 1 to variable.