aboutsummaryrefslogtreecommitdiffstats
path: root/src/function-forms/syntax/async-func-expr-named.template
blob: b7efe5fc91223484952885e72620d3cb44c6a4c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (C) 2017 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
path: language/expressions/async-function/named-
name: async function named expression
esid: sec-async-function-definitions
info: |
  14.6 Async Function Definitions

  AsyncFunctionExpression :
    async function BindingIdentifier ( FormalParameters ) { AsyncFunctionBody }

---*/

(async function f(/*{ params }*/) {
  /*{ body }*/
});