ganqqwerty / 123-Essential-JavaScript-Interview-Questions

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

fix errors that could trip people up #46

Closed richi1717 closed 6 years ago

richi1717 commented 6 years ago

const with arrow function missing = obj1.display() is not a function since display is not defined change to obj1.myMethod() fix some inconsistent indentation

I know there are some other issues that I didn't look at before opening this pr, but I saw these the first time I glanced. Hope this helps.