pub fn define_dictionary_property(
cx: JSContext,
object: HandleObject<'_>,
property: &CStr,
value: HandleValue<'_>,
) -> Result<(), ()>Expand description
Define an own enumerable data property with name property on object.
Returns Err(()) on JSAPI failure, or null object,
and Ok(()) otherwise.