Skip to content

Commit 61e2cef

Browse files
iliakanHoonDongKang
authored andcommitted
minor fixes
1 parent 3e15359 commit 61e2cef

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

4-binary/01-arraybuffer-binary-arrays/article.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ new TypedArray();
126126

127127
We can create a `TypedArray` directly, without mentioning `ArrayBuffer`. But a view cannot exist without an underlying `ArrayBuffer`, so gets created automatically in all these cases except the first one (when provided).
128128

129-
To access the `ArrayBuffer`, there are properties:
130-
- `arr.buffer` -- references the `ArrayBuffer`.
131-
- `arr.byteLength` -- the length of the `ArrayBuffer`.
129+
To access the underlying `ArrayBuffer`, there are following properties in `TypedArray`:
130+
- `buffer` -- references the `ArrayBuffer`.
131+
- `byteLength` -- the length of the `ArrayBuffer`.
132132

133133
So, we can always move from one view to another:
134134
```js

0 commit comments

Comments
 (0)