2
0

regionBugSpecHoisting.js 691 B

12345678910111213141516171819202122232425262728
  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 test0() {
  6. var ui8 = new Uint8Array(1);
  7. try {
  8. try {
  9. for (var _strvar28 in ui8) {
  10. try {
  11. return '';
  12. } catch (ex) {
  13. }
  14. try {
  15. } catch (ex) {
  16. }
  17. }
  18. } catch(ex) {
  19. }
  20. } finally {
  21. }
  22. }
  23. test0();
  24. test0();
  25. test0();
  26. test0();
  27. print("Passed\n");