funcexpr_2.js 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. var glo;
  6. var Proxy = function () {
  7. };
  8. var print = function (x) {
  9. glo = x;
  10. };
  11. (function () {
  12. Object = function kspuxw() {
  13. print(kspuxw);
  14. }(Proxy(function handlerFactory() {
  15. return {
  16. getOwnPropertyDescriptor: function () {
  17. var yum = 'PCAL';
  18. dumpln(yum + 'LED: getOwnPropertyDescriptor');
  19. }
  20. };
  21. }()));
  22. }());
  23. glo();
  24. (function (argMath5) {
  25. function v0() {
  26. (function () {
  27. function v2() {
  28. }
  29. argMath5 = eval;
  30. })(arguments[0]);
  31. prop1 = argMath5;
  32. }
  33. v0();
  34. })();
  35. WScript.Echo(prop1);
  36. WScript.Echo("PASS");