Skip to main content

JS_DefineProperty

Function JS_DefineProperty 

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