mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-31 01:11:06 +00: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
|
/// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/has
|
||||||
#[wasm_bindgen(static_method_of = Reflect, catch)]
|
#[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
|
/// The static Reflect.isExtensible() method determines if an object is extensible
|
||||||
/// (whether it can have new properties added to it). It is similar to
|
/// (whether it can have new properties added to it). It is similar to
|
||||||
|
Loading…
x
Reference in New Issue
Block a user