diao Yerik diao Yerik - 1 year ago 59
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?

Answer Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download