es6-shim icon indicating copy to clipboard operation
es6-shim copied to clipboard

ECMAScript 6 compatibility shims for legacy JS engines

Results 34 es6-shim issues
Sort by recently updated
recently updated
newest added

IE10's DataView does not appear to be ES6 compliant. It's listed as being compatible on MDN. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView/byteOffset ``` try { console.log(DataView.prototype.buffer); } catch (e) { console.log(e); } try { console.log(DataView.prototype.byteLength);...

Similar to the DataView issue. https://github.com/paulmillr/es6-shim/issues/385 Listed as compatible on MDN https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer ``` try { console.log(ArrayBuffer.prototype.byteLength); } catch (e) { console.log(e); } var a = Object.getPrototypeOf(new ArrayBuffer(4)); console.log(a); var x...

Even when overwriting native `Map` that doesn't comply with the spec, we should use the native `Map` internally rather than our O(n) slow path for object keys.

Spec compliance
Collections: Map / Set / WeakMap / WeakSet

Currently, if there's no `.catch` errors will vanish mysteriously. Native promises in chrome 41.0.2249.0 (current canary) will print a message about unhandled promise errors: ![image](https://cloud.githubusercontent.com/assets/43438/5430004/891d6aa6-843d-11e4-8df2-2a924e714637.png) but if the es6-shim is...

Promises
pull request wanted

It seems like Opera 12.15 has `RegExp.input`, but it's always `undefined`, so the test for it is failing. To fix this issue, either a) we need to discover how to...

Spec compliance
pull request wanted

I noticed that this shim uses a single regex, while es5-shim uses two, and although I know the es5-shim project didn't want to get into "[performance golfing](https://github.com/es-shims/es5-shim/issues/126)" toward further optimizing...

pull request wanted

Originally part of #341. ``` js var c = 0; [].map.call({get length(){c++;return 0}}, isNaN); c; // => 2, should be 1 var O = {length: Math.pow(2, 32) + 1}; O[Math.pow(2,...

Spec compliance
needs followup
repo management

We need to create an `es6-sham` file. Anything that doesn't 100% match the spec in either an ES3/shimmed ES5, or true ES5 environment does _not_ belong in `es6-shim` and should...

sham

Would be really nice to have lodash-like custom builds, I guess. Some people need only 1-3 functions from here.

repo management