Open Xotic750 opened 8 years ago
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 = Object.getOwnPropertyDescriptor(a, 'byteLength').get; console.log(x); console.log(x.call(new ArrayBuffer(4)));
http://jsfiddle.net/Xotic750/vfL7zd0b/2/
https://github.com/paulmillr/es6-shim/issues/385#issuecomment-164314707
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
http://jsfiddle.net/Xotic750/vfL7zd0b/2/