mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-27 12:06:14 +03:00
fix: Reflect.has
This commit is contained in:
parent
1397f9b05a
commit
3442f9d9d7
@ -1041,7 +1041,7 @@ extern "C" {
|
||||
///
|
||||
/// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/has
|
||||
#[wasm_bindgen(static_method_of = Reflect, catch)]
|
||||
pub fn has(target: &JsValue, property_key: &JsValue) -> Result<bool, JsValue>;
|
||||
pub fn has(target: &JsValue, property_key: &JsValue) -> Result<JsValue, JsValue>;
|
||||
|
||||
/// The static Reflect.isExtensible() method determines if an object is extensible
|
||||
/// (whether it can have new properties added to it). It is similar to
|
||||
|
Loading…
Reference in New Issue
Block a user