Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/src/async-functions/syntax/async-declaration.template

raw
1 // Copyright (C) 2017 André Bargull. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 path: language/statements/async-function/
6 name: Async function declaration
7 esid: prod-AsyncFunctionDeclaration
8 info: |
9 Async Function Definitions
10
11 AsyncFunctionDeclaration:
12 async [no LineTerminator here] function BindingIdentifier ( FormalParameters ) { AsyncFunctionBody }
13 features: [async-functions]
14 ---*/
15
16 async function fn() {
17 /*{ body }*/
18 }