diao Yerik diao Yerik - 11 months ago 54
Javascript Question

can anybody explain for me how "-->" works in javascripts

while (max --> min)

I know this is a dcreasing sample, but I want to know where the method is introduced in Official documents?

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