Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/src/async-functions/syntax/async-obj-method.template

raw
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/object/method-definition/async-
6 name: Async method
7 esid: prod-AsyncMethod
8 info: |
9 Async Function Definitions
10
11 AsyncMethod :
12 async [no LineTerminator here] PropertyName ( UniqueFormalParameters ) { AsyncFunctionBody }
13 features: [async-functions]
14 ---*/
15
16 var obj = {
17 async method() {
18 /*{ body }*/
19 }
20 };