Skip to content

Commit

Permalink
Update webgpu-memory-layout.md (#130)
Browse files Browse the repository at this point in the history
minor spelling correction: "were" --> "where" in "Its parameters are subarray(begin, end) were end is not included."
  • Loading branch information
ARakhamimov authored Jun 27, 2024
1 parent 38a3a8d commit 1322d44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webgpu/lessons/webgpu-memory-layout.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ Further, every `TypedArray` has the following properties

And `TypedArray`s have various methods, many are similar to `Array` but
one that is not is `subarray`. It creates a new `TypedArray` view
of the same type. Its parameters are `subarray(begin, end)` were
of the same type. Its parameters are `subarray(begin, end)` where
`end` is not included. So `someTypedArray.subarray(5, 10)` makes
a new `TypedArray` of **the same `ArrayBuffer`** of elements 5 to 9
of `someTypedArray`.
Expand Down

0 comments on commit 1322d44

Please sign in to comment.