| // Copyright (C) 2017 André Bargull. All rights reserved. | |
| // This code is governed by the BSD license found in the LICENSE file. | |
| /*--- | |
| path: language/statements/async-function/ | |
| name: Async function declaration | |
| esid: prod-AsyncFunctionDeclaration | |
| info: | | |
| Async Function Definitions | |
| AsyncFunctionDeclaration: | |
| async [no LineTerminator here] function BindingIdentifier ( FormalParameters ) { AsyncFunctionBody } | |
| features: [async-functions] | |
| ---*/ | |
| async function asyncFn(/*{ params }*/) { | |
| /*{ body }*/ | |
| } |