blob: bec86025bf87e1a6a4289a4b86616c41920000b0 [file] [log] [blame] [edit]
// 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 }*/
}
});