pub type NativeFn = fn(ctx: &mut EvalContext, this: JsValue, args: Vec<JsValue>) -> Result<JsValue, JErrorType>;Expand description
Function signature for built-in methods.
Native functions receive the evaluation context, this value, and arguments.