| 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/expressions/async-function/named- |
| 6 |
name: Named async function expression |
| 7 |
esid: prod-AsyncFunctionExpression |
| 8 |
info: | |
| 9 |
Async Function Definitions |
| 10 |
|
| 11 |
AsyncFunctionExpression : |
| 12 |
async [no LineTerminator here] function BindingIdentifier ( FormalParameters ) { AsyncFunctionBody } |
| 13 |
features: [async-functions] |
| 14 |
---*/ |
| 15 |
|
| 16 |
var fn = async function fn() { |
| 17 |
/*{ body }*/ |
| 18 |
}; |