We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 554e419 commit 882a348Copy full SHA for 882a348
1 file changed
general-patterns/built-in-prototypes.html
@@ -19,8 +19,8 @@
19
* the code or already part of the JavaScript engine of one of the browsers you support.
20
* 3. You clearly document and communicate the change with the team.
21
*/
22
- if (typeof Object.protoype.myMethod !== "function") {
23
- Object.protoype.myMethod = function () {
+if (typeof Object.prototype.myMethod !== "function") {
+ Object.prototype.myMethod = function () {
24
// implementation...
25
};
26
}
0 commit comments