Skip to main content

eval_internal

Function eval_internal 

Source
pub fn eval_internal(src: &str) -> Result<Value, String>
Expand description

eval_in_global_scope for the runtime’s own JavaScript — the factories behind util.promisify, events.on, web streams and the rest. Its frames stay out of every stack trace (see host::ScriptOrigin::internal).