Debian Codegraph @

js/src/tests/test262/built-ins/AsyncFunction/AsyncFunction.js

raw
1 // Copyright 2016 Microsoft, Inc. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 author: Brian Terlson <[email protected]>
6 esid: sec-async-function-objects
7 description: >
8 %AsyncFunction% exists and is a function
9 ---*/
10
11 var AsyncFunction = async function foo() {}.constructor;
12 assert.sameValue(typeof AsyncFunction, "function");
13
14 reportCompare(0, 0);