1/* 2 * Copyright (c) 2024 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16(function () { 17 function f1() { 18 f3(); 19 } 20 function f3() {} 21 function f5() {} 22 function f6() { 23 let v31 = 20; 24 function f19() { 25 loop1: for (var v32 = 0; v32++ < 10;) { 26 let v36 = 21; 27 let v37 = function () { 28 return v36; 29 }; 30 try {} catch (v38) {} finally { 31 f5(v31 === 20); 32 } 33 let j = 0; 34 loop2: switch (j) { 35 case 0: { 36 j++; 37 loop3: { 38 let v38 = 21; 39 let v39 = function () { 40 return v38; 41 }; 42 try {} catch (v38) {} finally { 43 f5(v31 === 20); 44 continue loop1; 45 } 46 } 47 } 48 default: 49 return; 50 } 51 } 52 } 53 f19(); 54 } 55 for (var v1 = 0; v1 < 10; v1++) { 56 f6(); 57 } 58})(); 59