loading...

Discussion

pic
Editor guide
 
 

There's this guy who made a good joke years ago, and keeps trying to cash in on it.

 

It's because this is a so bad joke that the better you can do is laugh about it.

Sometimes instead of this, I misspell shit, that's almost the same.

 
 
 
 
 

LMAO ๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚

 
 

that happen sometimes with me. tell what about you.!

 
 

And sometimes you are in both states at the same time like Schrodinger's cat.

 

A JavaScript developer walks into a bar.

The barman asks "why the long face?"

The developer replies "I programme in JavaScript."

"Oh! Sorry," says the barman. "Why the ieee double precision floating point face?" and pulls him 0.999999 pints.

 

pints ๐Ÿค”๐Ÿค”๐Ÿค”๐Ÿค”๐Ÿค”๐Ÿค”๐Ÿค”๐Ÿค”๐Ÿค”๐Ÿค”๐Ÿค”๐Ÿค”๐Ÿค”๐Ÿค”

 

Are you curious because you've never had a pint, or because in English any amount other than 1 is plural?

 

WTH ๐Ÿคฃ๐Ÿ˜‚

 

i'm python engineer..!! Can i join? ๐Ÿ™„

 

Of course not ๐Ÿ˜‚๐Ÿคฃ ... Yeah sure JK

 
 
 

OK, I get the rest, but why the hell does {} + [] === 0

 

{} + [] is the most stupid thing people joking about JS ever. Actually, the behavior is the same like for []+{} โ€” it's calling toValue(), but in the CLI/browser console, when you're writing an expression starts from from {}, it actually means not an object, but a block, that means empty instructions set to compiler in this context. So the expression is just '+[]'.

Some serious art stuff

 

Welcome to JavaScript, LOL.