eval_letconst.js 591 B

123456789101112131415161718192021
  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. let x = 2;
  6. let y = 1;
  7. function blah()
  8. {
  9. return 3;
  10. }
  11. function __parseUri() {
  12. var c = __parseUri;
  13. if (y == 1)
  14. WScript.Echo(c.options);
  15. }
  16. __parseUri.options = "Pass";
  17. __parseUri();