We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a06e7e commit 9640a1aCopy full SHA for 9640a1a
src/class.js
@@ -36,7 +36,7 @@ class Animal {
36
}
37
38
39
-// vvv NOPE vvv
+// vvv NOPE vvv Q: HOW TO SOLVE THIS USING PROTOTYPE?
40
// const Cat = Object.create(Animal.prototype);
41
// // Cat.prototype.name = this.name;
42
// Cat.prototype.name = 'whiskers';
0 commit comments