FunctionShim.cs 521 B

12345678910111213141516171819
  1. using Jint.Native.Object;
  2. using Jint.Parser.Ast;
  3. using Jint.Runtime;
  4. using Jint.Runtime.Environments;
  5. namespace Jint.Native.Function
  6. {
  7. public class FunctionShim : FunctionInstance
  8. {
  9. public FunctionShim(ObjectInstance prototype, Identifier[] parameters, LexicalEnvironment scope) : base(prototype, parameters, scope)
  10. {
  11. }
  12. public override dynamic Call(Engine interpreter, object thisObject, dynamic[] arguments)
  13. {
  14. return Undefined.Instance;
  15. }
  16. }
  17. }