aboutsummaryrefslogtreecommitdiffstats
path: root/src/function-forms/syntax/async-func-decl.template
blob: 6f5beb08969ba91c72c6a02244e643efb2b89c4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright (C) 2017 Leo Balter. 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: sec-async-function-definitions
info: |
  14.6 Async Function Definitions

  AsyncFunctionDeclaration :
    async function BindingIdentifier ( FormalParameters ) { AsyncFunctionBody }
---*/

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