Skip to content

Commit 882a348

Browse files
committed
applied changes in issue chuanxshi#34
1 parent 554e419 commit 882a348

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

general-patterns/built-in-prototypes.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
* the code or already part of the JavaScript engine of one of the browsers you support.
2020
* 3. You clearly document and communicate the change with the team.
2121
*/
22-
if (typeof Object.protoype.myMethod !== "function") {
23-
Object.protoype.myMethod = function () {
22+
if (typeof Object.prototype.myMethod !== "function") {
23+
Object.prototype.myMethod = function () {
2424
// implementation...
2525
};
2626
}

0 commit comments

Comments
 (0)