mirror of
https://github.com/tc39/test262.git
synced 2025-07-13 17:14:38 +02:00
19 lines
512 B
Plaintext
19 lines
512 B
Plaintext
// 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 }*/
|
|
}
|