phoboslab / JavaScriptCore-iOS

Apple's JavaScript Engine, with modified project files for iOS
695 stars 166 forks source link

instanceof not working for typed arrays #6

Closed ppissanetzky closed 11 years ago

ppissanetzky commented 11 years ago

For some reason the 'instanceof' operator does not work for typed arrays. For example:

(new Uint8Array()) instanceof Uint8Array

returns false.