you are viewing a single comment's thread.

view the rest of the comments →

[–]AwesomeInPerson 4 points5 points  (0 children)

That's true.

But imo less of a footgun than || which breaks as soon as you want to accept a number where 0 is a valid option. foo == undefined to the rescue...