Why does a method using the shorthand method syntax not contain a prototype object
问题 In the code snippet below func2 is supposed to be the shorthand method syntax for func1 . Question 1 : Why does obj1 contain the prototype Object and obj2 does not (while both have the __proto__ object)? Question 2 : Are all three objects prototype objects? Question 3 : Why does the fact of obj2 not having a prototype function not influence the way in which it binds this ? Concerning obj3 : obj3 is there for reference because it is equivalent to obj2 in terms of not having a prototype