termi / es6-transpiler

Tomorrow's JavaScript syntax today
Other
216 stars 18 forks source link

make .contains() methods non-enumerable #73

Closed Rich-Harris closed 8 years ago

Rich-Harris commented 9 years ago

This makes the polyfilled Array.prototype.contains and String.prototype.contains methods non-enumerable, which was causing issues when es6-transpiler and 6to5 are used in the same project (https://github.com/6to5/gobble-6to5/pull/1). I've only edited the source file, I wasn't immediately sure what was involved in rebuilding. Thanks