FunctionShim.cs 444 B

1234567891011121314151617
  1. using Jint.Runtime.Environments;
  2. namespace Jint.Native.Function
  3. {
  4. public sealed class FunctionShim : FunctionInstance
  5. {
  6. public FunctionShim(Engine engine, string[] parameters, LexicalEnvironment scope)
  7. : base(engine, "function", parameters, scope, false)
  8. {
  9. }
  10. public override JsValue Call(JsValue thisObject, JsValue[] arguments)
  11. {
  12. return Undefined;
  13. }
  14. }
  15. }