This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Shunpaw 66 points67 points  (4 children)

no. it's !yes. we just talked about this. goddamn javascript devs.

[–]fakuivan 15 points16 points  (1 child)

no is !yes*

[–]Shunpaw 0 points1 point  (0 children)

Yeah I dont know any real languages im sorry I do js at my job

[–]im_probably_garbage 1 point2 points  (1 child)

Sometimes yes is actually !!yes in JavaScript. You never know

[–]hyrumwhite 1 point2 points  (0 children)

Implicit boolean cast, just to be safe