summaryrefslogtreecommitdiff
path: root/test/built-ins/AsyncFunction/AsyncFunction-prototype.js
blob: 2a2801238d80b27097a326663e65d3f03a6ee96a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2016 Microsoft, Inc. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
author: Brian Terlson <brian.terlson@microsoft.com>
esid: sec-async-function-constructor-prototype
description: AsyncFunction has a prototype property with writable false, enumerable false, configurable false.
includes: [propertyHelper.js]
---*/

var AsyncFunction = async function foo() { }.constructor;
verifyNotConfigurable(AsyncFunction, 'prototype');
verifyNotWritable(AsyncFunction, 'prototype');
verifyNotEnumerable(AsyncFunction, 'prototype');