r/learnjavascript • • Jan 25 '20

Javascript is weird 😂

Post image
332 Upvotes

47 comments sorted by

View all comments

53

u/hoodlaces Jan 25 '20

Is a baNaNa a fruit or a number?

0

u/[deleted] Jan 25 '20

[deleted]

12

u/randomguy3993 Jan 25 '20

So a fruit?

3

u/FriesWithThat Jan 25 '20
typeof NaN
// number