Skip to content

Commit

Permalink
[Fix] somehow node 0.12 - 3 can hit here, and they lack slice but hav…
Browse files Browse the repository at this point in the history
…e set
  • Loading branch information
ljharb committed Oct 19, 2023
1 parent a648554 commit c28e9b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ if (hasToStringTag && gOPD && getPrototypeOf) {
} else {
forEach(typedArrays, function (typedArray) {
var arr = new g[typedArray]();
cache['$' + typedArray] = callBind(arr.slice);
cache['$' + typedArray] = callBind(arr.slice || arr.set);
});
}

Expand Down

0 comments on commit c28e9b8

Please sign in to comment.