Port Set tests to wasm

This commit is contained in:
Alex Crichton
2018-07-20 15:44:15 -07:00
parent ad86c52b02
commit 54abca7344
5 changed files with 84 additions and 230 deletions

View File

@ -1913,7 +1913,7 @@ extern {
///
/// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set
#[wasm_bindgen(constructor)]
pub fn new() -> Set;
pub fn new(init: &JsValue) -> Set;
/// The size accessor property returns the number of elements in a [`Set`]
/// object.