fix: Reflect.has

This commit is contained in:
Jannik Keye 2018-07-04 13:18:06 +02:00
parent 1397f9b05a
commit 3442f9d9d7

View File

@ -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