summaryrefslogtreecommitdiff
path: root/test/built-ins/Function/prototype/toString/async-generator-declaration.js
blob: 9a5bb3f3db9067c72681d58c43072730689029c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright 2017 André Bargull. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
esid: pending
description: Function.prototype.toString on an async generator declaration
features: [async-iteration]
---*/

/* before */async /* a */ function /* b */ * /* c */ f /* d */ ( /* e */ x /* f */ , /* g */ y /* h */ ) /* i */ { /* j */ ; /* k */ ; /* l */ }/* after */

assert.sameValue(f.toString(), "async /* a */ function /* b */ * /* c */ f /* d */ ( /* e */ x /* f */ , /* g */ y /* h */ ) /* i */ { /* j */ ; /* k */ ; /* l */ }");