Skip to main content

JS_NewObject

Function JS_NewObject 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn JS_NewObject(ctx: *mut JsContext) -> JsValue
Expand description

JS_NewObject: an ordinary object inheriting Object.prototype.

ยงSafety

ctx must be a live context.