You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original states "set TO a constructor function"; meaning that the value of "prototype" itself should be constructor function. That's too strong; probably what was meant here is that "prototype" is merely a constructor function property.
Copy file name to clipboardExpand all lines: 1-js/08-prototypes/02-function-prototype/article.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -162,7 +162,7 @@ Everything is quite simple, just few notes to make things clear:
162
162
163
163
- The `F.prototype` property is not the same as `[[Prototype]]`. The only thing `F.prototype` does: it sets `[[Prototype]]` of new objects when `new F()` is called.
164
164
- The value of `F.prototype` should be either an object or null: other values won't work.
165
-
- The `"prototype"` property only has such a special effect when is set to a constructor function, and invoked with `new`.
165
+
- The `"prototype"` property only has such a special effect when set on a constructor function, and invoked with `new`.
166
166
167
167
On regular objects the `prototype` is nothing special:
0 commit comments