ganqqwerty / 123-Essential-JavaScript-Interview-Questions

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

Function Call is incorrect in Question 25, Example 1 #44

Closed jappreetS closed 6 years ago

jappreetS commented 6 years ago

As you can see in the attached snapshot here, you have added myMethod and calling display method which is not their in the obj1 object which can result in an error.

question25

richi1717 commented 6 years ago

I noticed that as well and am about to open a pr for that.

ganqqwerty commented 6 years ago

Done! Thanks for being watchful!!!