We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
TypedArray::subarray
1 parent 93cb6cb commit 1e75e41Copy full SHA for 1e75e41
crates/js-sys/src/lib.rs
@@ -4847,8 +4847,9 @@ macro_rules! arrays {
4847
#[wasm_bindgen(getter, method)]
4848
pub fn buffer(this: &$name) -> ArrayBuffer;
4849
4850
- /// The `subarray()` method stores multiple values in the typed array,
4851
- /// reading input values from a specified array.
+ /// The `subarray()` method returns a new `TypedArray` on the same
+ /// `ArrayBuffer` store and with the same element types as for this
4852
+ /// `TypedArray` object.
4853
#[wasm_bindgen(method)]
4854
pub fn subarray(this: &$name, begin: u32, end: u32) -> $name;
4855
0 commit comments