ganqqwerty / 123-Essential-JavaScript-Interview-Questions

JavaScript interview Questions
BSD 3-Clause "New" or "Revised" License
5.01k stars 1.18k forks source link

Typo #2

Closed shelune closed 8 years ago

shelune commented 8 years ago

At question 14 (https://github.com/nishant8BITS/123-Essential-JavaScript-Interview-Question#14-what-will-be-the-output-of-below-code), there are 2 lines of 'Boolean + Number -> Addition'

Should one be 'Boolean + Boolean -> Addition'?

chanpete commented 8 years ago

I saw one more.

At question 20

Here name instanceof String is true since dog inherits from String.prototype

Should be "since name inherits from String.prototype"

chanpete commented 8 years ago

And question 24 is duplicated with question 5.

chanpete commented 8 years ago

And question 28

Method 2: Object Literal Object Literal is bast way to create an object

does it mean the best way?

nishant8BITS commented 8 years ago

Thanks @shelune and @chanpete I did the changes :+1:

Mottie commented 8 years ago

Question 24 is still a duplicate of question 5.

Also Question 27 has a typo in the first sentence:

you will probably is more than any others

I think "is" should be changed to "use".