summaryrefslogtreecommitdiff
path: root/src/async-functions/syntax/async-expression.template
blob: fb0122e35bd6d7e62d85e7a2c6bb3eeccd5c6dd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (C) 2017 André Bargull. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
path: language/expressions/async-function/
name: Unnamed async function expression
esid: prod-AsyncFunctionExpression
info: |
  Async Function Definitions

  AsyncFunctionExpression :
    async [no LineTerminator here] function ( FormalParameters ) { AsyncFunctionBody }
features: [async-functions]
---*/

var fn = async function () {
  /*{ body }*/
};