Skip to content

Commit df7eae4

Browse files
Update buffers_and_typedarrays.md
1 parent 9a48ba3 commit df7eae4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

buffer/buffers_and_typedarrays.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ console.log(uint32array);
3434

3535
```js
3636
const buf = Buffer.from('hello', 'utf16le');
37-
const uint16arr = new Uint16Array(
37+
const uint16array = new Uint16Array(
3838
buf.buffer,
3939
buf.byteOffset,
4040
buf.length / Uint16Array.BYTES_PER_ELEMENT);

0 commit comments

Comments
 (0)