mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-21 08:41:35 +00:00
Add Array.prototype.values binding (#395)
This commit is contained in:
committed by
Alex Crichton
parent
21cb50ef05
commit
bae324c951
@ -339,6 +339,13 @@ extern "C" {
|
||||
/// http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/entries
|
||||
#[wasm_bindgen(method)]
|
||||
pub fn entries(this: &Array) -> ArrayIterator;
|
||||
|
||||
/// The values() method returns a new Array Iterator object that
|
||||
/// contains the values for each index in the array.
|
||||
///
|
||||
/// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/values
|
||||
#[wasm_bindgen(method)]
|
||||
pub fn values(this: &Array) -> ArrayIterator;
|
||||
}
|
||||
|
||||
// Boolean
|
||||
|
Reference in New Issue
Block a user