script::dom::bindings::import::module

Function 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]].