Skip to content

Commit df7eae4

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buffer/buffers_and_typedarrays.md

+1-1
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)