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 array = [1, 2, 3]; 34 loop2: for (let i in array) { 35 let v38 = 21; 36 let v39 = function () { 37 return v38; 38 }; 39 try {} catch (v38) {} finally { 40 f5(v31 === 20); 41 continue loop1; 42 } 43 } 44 } 45 } 46 f19(); 47 } 48 for (var v1 = 0; v1 < 10; v1++) { 49 f6(); 50 } 51})(); 52