evalAlias.js 532 B

12345678910111213141516171819202122
  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 x()
  6. {
  7. var e = eval;
  8. }
  9. x();
  10. var bar = function (e) {
  11. e.apply(this);
  12. }
  13. function foo() {
  14. WScript.Echo("pass");
  15. }
  16. bar(foo);