Skip to content

Commit bc2fc1d

Browse files
committed
Removed unnecessary call to isView since some platforms do not support it (#34).
1 parent 3eba26c commit bc2fc1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
function coerceArray(arg, copy) {
2121

2222
// ArrayBuffer view
23-
if (arg.buffer && ArrayBuffer.isView(arg) && arg.name === 'Uint8Array') {
23+
if (arg.buffer && arg.name === 'Uint8Array') {
2424

2525
if (copy) {
2626
if (arg.slice) {

0 commit comments

Comments
 (0)