Function mozjs_sys::jsapi::JS_NewPlainObject

source ยท
pub unsafe extern "C" fn JS_NewPlainObject(
    cx: *mut JSContext,
) -> *mut JSObject
Expand description

Creates a new plain object, like new Object(), with Object.prototype as [[Prototype]].