mirror of
https://github.com/tc39/test262.git
synced 2025-09-26 11:38:50 +02:00
21 lines
480 B
Plaintext
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 }*/
|
|
}
|
|
});
|