inlineeArgoutCount.js 617 B

123456789101112131415161718192021222324
  1. //-------------------------------------------------------------------------------------------------------
  2. // Copyright (C) Microsoft. All rights reserved.
  3. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
  4. //-------------------------------------------------------------------------------------------------------
  5. function bar(){
  6. this.func.apply(this, arguments);
  7. }
  8. var a = new Object();
  9. a.b = bar;
  10. a.b.prototype.func = function(){};
  11. function foo()
  12. {
  13. new a.b(0,1,2,3,4,5,6,7,8,9);
  14. }
  15. foo();
  16. foo();
  17. foo();
  18. WScript.Echo("Passed");