1/** 2 * Copyright (c) 2024-2025 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 */ 15function m0F0() { 16 (()=>{console.log(1)})(); 17 (()=>{console.log(2)})(); 18} 19function* m0F1() {} 20async function m0F2() {} 21class M0C0 { 22 M0C0F0(){} 23 static M0C0F1(){} 24 async M0C0F2(){} 25 // async *M0C0F3(){} 26} 27// enum M0E0 {} 28 29// namespace M0N0 { 30 function m0N0F0() {} 31 function* m0N0F1() {} 32 async function m0N0F2() {} 33 class M0N0C0 { 34 M0N0C0F0(){} 35 static M0N0C0F1(){} 36 async M0N0C0F2(){} 37 // async *M0N0C0F3(){} 38 } 39 // enum M0N0E0 {} 40 41 // namespace M0N0N0 { 42 function m0N0N0F0() {} 43 // } 44// } 45