bug17449647.js 528 B

1234567891011121314151617
  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 strvar1 = "";
  6. function foo() {
  7. switch (strvar1) {
  8. case 1:
  9. this();
  10. case "":
  11. }
  12. }
  13. for (let i = 0; i < 1000; ++i) {
  14. foo();
  15. }
  16. console.log("pass");