test262/src/function-forms/syntax/async-meth.template
2017-10-26 19:04:57 -04:00

21 lines
480 B
Plaintext

// Copyright (C) 2017 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
path: language/expressions/object/method-definition/async-meth-
name: async method
esid: sec-async-function-definitions
info: |
14.6 Async Function Definitions
AsyncMethod :
async PropertyName ( UniqueFormalParameters ) { AsyncFunctionBody }
features: [async-iteration]
---*/
({
async *method(/*{ params }*/) {
/*{ body }*/
}
});