#[unsafe(no_mangle)]pub unsafe extern "C" fn JS_GetImportMeta(
ctx: *mut JsContext,
m: *mut JsModuleDef,
) -> JsValueExpand description
JS_GetImportMeta: the import.meta object of the module being evaluated.
The engine builds import.meta per module and keeps it on the module record; a C module has
none. Answering a fresh object would be wrong (mutations would not be shared), so a C
module answers undefined and a caller must not use this on one.
ยงSafety
m must be null or a module of this context.