Skip to content

Commit 5481c85

Browse files
committed
Make Object.prototype.toSting() unenumerable
While I strongly agree that `toSting()` should be part of all major browser's spec, I don't think it should be enumerable. For example: ```javascript /* Run Object.toSting shim here. */ var test = [1]; for (var index in test) { console.log(index); } // will log: "0", "toSting" ```
1 parent 816e118 commit 5481c85

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

index.js

+6-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)