Backed out 3 changesets (bug 1892041) for causing failures on async-module-does-not...
[gecko.git] / js / src / tests / test262 / built-ins / TypedArray / prototype / at / name.js
blobfd4fcf23246973329163313aaead0687cd01b855
1 // Copyright (C) 2020 Rick Waldron. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3 /*---
4 esid: sec-%typedarray%.prototype.at
5 description: >
6   %TypedArray%.prototype.at.name value and descriptor.
7 info: |
8   %TypedArray%.prototype.at( index )
10   17 ECMAScript Standard Built-in Objects
12 includes: [propertyHelper.js, testTypedArray.js]
13 features: [TypedArray.prototype.at]
14 ---*/
15 assert.sameValue(
16   typeof TypedArray.prototype.at,
17   'function',
18   'The value of `typeof TypedArray.prototype.at` is "function"'
21 assert.sameValue(
22   TypedArray.prototype.at.name, 'at',
23   'The value of TypedArray.prototype.at.name is "at"'
26 verifyProperty(TypedArray.prototype.at, 'name', {
27   enumerable: false,
28   writable: false,
29   configurable: true
30 });
32 reportCompare(0, 0);