DEV Community

loading...

Discussion on: Demystifying the Long Arrow "Operator"

Collapse
skiilaa profile image
skiilaa

TL;DR: x --> 0 = x-- > 0

Collapse
gsmoffln profile image
gsmoffln

You probably meant,
x --> 0 == x-- > 0?

No, no, and no.

--> is a recognized ES token in every popular browser. If it occurs at the start of a line, it is considered a single-line comment.

Collapse
somedood profile image
Basti Ortiz (Some Dood) Author

YUP. Can never agree more. 😂