diff --git a/web/compatibility.js b/web/compatibility.js index 66e46b51b..26405ad8f 100644 --- a/web/compatibility.js +++ b/web/compatibility.js @@ -14,7 +14,7 @@ } function subarray(start, end) { - return this.slice(start, end); + return new TypedArray(this.slice(start, end)); } function setArrayOffset(array, offset) {