pub fn define_property<T>(
target: &Object<T>,
property_key: &JsValue,
attributes: &Object,
) -> Result<bool, JsValue>where
Object<T>: ErasableGenericBorrow<Object<JsValue>> + EncodeTypeDef,
for<'__wry_bindgen> &'__wry_bindgen Object<T>: BinaryEncode,Expand description
The static Reflect.defineProperty() method is like
Object.defineProperty() but returns a Boolean.