DEV Community

Discussion on: Demystifying the Long Arrow "Operator"

Collapse
 
mogery profile image
Gergő Móricz

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

YUP. Can never agree more. 😂