Missing ArrayBuffer.isView() Method

Kishori Sharan kishori.sharan at gmail.com
Thu Oct 23 00:23:11 UTC 2014


Hello,
Why did Nashorn not implement the ArrayBuffer.isView() static method? The
page at
https://wiki.openjdk.java.net/display/Nashorn/Nashorn+extensions
describes that Nashorn implements the specification at
https://www.khronos.org/registry/typedarray/specs/latest/ that conatins
this method. However, this method is missing. The following statement
throws an exception:

ArrayBuffer.isView(new Int8Array(4));


Thanks
Kishori


More information about the nashorn-dev mailing list