Skip to content

Commit

Permalink
fix: Fixed property assignment (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanMad authored Jul 4, 2021
1 parent 4b53dfa commit 3d296c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ Object.keys(funcs).map((func: string) => {
`On The Case:\n${func} could not be written to JavaScript\'s String object because a function with this name already exists.`,
);
} else {
String.prototype[func] = func;
String.prototype[func] = funcs[func];
}
});

0 comments on commit 3d296c1

Please sign in to comment.