public static void SetUp(JsContext context) { context.Set("___native", new Native(context)); context.Run("function eval(code){ return ___native.Eval(code); }"); context.Run("function Function(code){ return ___native.Function(code); }"); context.Run("function isNaN(val){ return ___native.IsNaN(val); }"); }
public Native(JsContext context) { _context = context; }