summaryrefslogtreecommitdiff
path: root/src/async-functions/syntax/async-expression-named.template
blob: 571d25953c5462f7dcafc1c10f8a2f5fae3ad008 (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/named-
name: Named async function expression
esid: prod-AsyncFunctionExpression
info: |
  Async Function Definitions

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

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