re: Demystifying the Long Arrow "Operator" VIEW POST

VIEW PARENT COMMENT VIEW FULL DISCUSSION

Yup, that's definitely true. In cases when one has to decrement until any number other than 0, I think the long arrow "operator" has its... "uses".

let i = 10;
while (i --> 5) {
  console.log(i);
}

Nowadays decrement and increment are bad practice. Consequently operator "long arrow" will be disappeared, and it's good.

code of conduct - report abuse