Function define_property_str
pub fn define_property_str<T>(target: &Object<T>, property_key: &JsString, attributes: &PropertyDescriptor<T>) -> Result<bool, JsValue>
where
Object<T>: ErasableGenericBorrow<Object<JsValue>>,
PropertyDescriptor<T>: ErasableGenericBorrow<PropertyDescriptor<JsValue>>,
The static Reflect.defineProperty() method is like
Object.defineProperty() but returns a Boolean.