Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IE10 and others: ArrayBuffer missing prototype and getter #386

Open
Xotic750 opened this issue Dec 13, 2015 · 1 comment
Open

IE10 and others: ArrayBuffer missing prototype and getter #386

Xotic750 opened this issue Dec 13, 2015 · 1 comment

Comments

@Xotic750
Copy link
Contributor

Similar to the DataView issue. #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/

@Xotic750 Xotic750 changed the title IE10 and others: missing prototype and getter IE10 and others: ArrayBuffer missing prototype and getter Dec 13, 2015
@ljharb
Copy link
Collaborator

ljharb commented Dec 14, 2015

#385 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants