We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2bff50 commit 7b76185Copy full SHA for 7b76185
1-js/09-classes/01-class/article.md
@@ -110,7 +110,7 @@ alert(typeof User); // function
110
alert(User === User.prototype.constructor); // true
111
112
// The methods are in User.prototype, e.g:
113
-alert(User.prototype.sayHi); // alert(this.name);
+alert(User.prototype.sayHi); // the code of the sayHi method
114
115
// there are exactly two methods in the prototype
116
alert(Object.getOwnPropertyNames(User.prototype)); // constructor, sayHi
0 commit comments