summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Array/fromAsync/prop-desc.js
blob: 803cc989ddeac06c385f71464791556c33288e70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (C) 2022 Igalia, S.L. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
esid: sec-array.fromasync
description: Type and property descriptor of Array.fromAsync
info: |
  Every other data property described in clauses 19 through 28 and in Annex B.2
  has the attributes { [[Writable]]: *true*, [[Enumerable]]: *false*,
  [[Configurable]]: *true* } unless otherwise specified.
includes: [propertyHelper.js]
features: [Array.fromAsync]
---*/

assert.sameValue(typeof Array.fromAsync, "function", "Array.fromAsync is callable");

verifyProperty(Array, 'fromAsync', {
  writable: true,
  enumerable: false,
  configurable: true,
});

reportCompare(0, 0);