• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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      let array = [1, 2, 3];
26      loop1: for (const value of array) {
27        let v36 = 21;
28        let v37 = function () {
29          return v36;
30        };
31        try {} catch (v38) {} finally {
32          f5(v31 === 20);
33        }
34        loop2: for (var v33 = 0; v33++ < 10;) {
35          let v38 = 21;
36          let v39 = function () {
37            return v38;
38          };
39          try {} catch (v38) {} finally {
40            f5(v31 === 20);
41            break loop1;
42          }
43        }
44      }
45    }
46    f19();
47  }
48  for (var v1 = 0; v1 < 10; v1++) {
49    f6();
50  }
51})();
52