Fix subarray error for IE9
This commit is contained in:
parent
dba1a7dc6f
commit
567dd330e1
@ -14,7 +14,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function subarray(start, end) {
|
function subarray(start, end) {
|
||||||
return this.slice(start, end);
|
return new TypedArray(this.slice(start, end));
|
||||||
}
|
}
|
||||||
|
|
||||||
function setArrayOffset(array, offset) {
|
function setArrayOffset(array, offset) {
|
||||||
|
Loading…
Reference in New Issue
Block a user