Skip to content

Commit 7aa5adc

Browse files
committed
size: don't destructure globalThis for Buffer in /array.js
1 parent 8360705 commit 7aa5adc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

array.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { assertTypedArray } from './assert.js'
22

3-
const { Buffer } = globalThis // Buffer is optional
3+
const Buffer = globalThis.Buffer // Buffer is optional
44

55
export function typedView(arr, format) {
66
assertTypedArray(arr)

0 commit comments

Comments
 (0)