while (max --> min)
{
console.log(n);
}
I know that --> decreases the value, but where is --> documented in the official documentation?
while (max --> min)
{
console.log(n);
}
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…