paulmillr / es6-shim

ECMAScript 6 compatibility shims for legacy JS engines
http://paulmillr.com
MIT License
3.11k stars 388 forks source link

Support Array.prototype.map sub classing #424

Closed paladox closed 8 years ago

paladox commented 8 years ago

Hi please could you support Array.prototype.map subclassing please?

It shows here http://kangax.github.io/compat-table/es6/ that es6-shim does not support this.

Subclassing

Array.prototype.map

ljharb commented 8 years ago

Subclassing can not be polyfilled, and requires native support.