diao Yerik diao Yerik - 4 months ago 14
Javascript Question

How does the minus minus less than "-->" operator work in JavaScript?

while (max --> min)

I know that
decreases the value, but where is
documented in the official documentation?


It is the post decrement operator -- followed by the greater than operator >. Just the spacing is weird.

while (max-- > min)

So, while max decremented is larger than min