Friday, April 13, 2012

QUIZ: JavaScript the Worst Parts ;-)

Every JS newcommer must love this language ;-))
Just and old collection, more is comming with anti-examples from "leading librares code";-))

Try to answer:

new Number(null)
new Number(undefined)
NaN instanceof Number
10 instanceof Number
Number(10) instanceof Number
typeof NaN
typeof 10
typeof new Number(10)
NaN == NaN
NaN === NaN

1 comment:

  1. Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a Front end developer learn from Javascript Training in Chennai . or learn thru Javascript Training in Chennai. Nowadays JavaScript has tons of job opportunities on various vertical industry. JavaScript Training in Chennai