Skip to main content

JS_DefineProperty

Function JS_DefineProperty 

Source
pub fn JS_DefineProperty(
    cx: &mut JSContext,
    obj: HandleObject<'_>,
    name: &CStr,
    value: HandleValue<'_>,
    flags: PropertyFlags,
) -> bool
Expand description