JS_NewString

Function JS_NewString 

Source
pub unsafe fn JS_NewString(ctx: *mut JSContext, s: &[u16]) -> JSValue
Expand description

ยงSafety

The caller must ensure that ctx is a valid pointer to a JSContext.