blob: 4b0b0675dd7b9ba5137e9bcb403e1bd74c9cf67d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-get-set.prototype.size
description: >
get Set.prototype.size
17 ECMAScript Standard Built-in Objects
includes: [propertyHelper.js]
---*/
var descriptor = Object.getOwnPropertyDescriptor(Set.prototype, "size");
assert.sameValue(descriptor.get.length, 0, "The value of `Set.prototype.size.length` is `0`");
verifyNotEnumerable(descriptor.get, "length");
verifyNotWritable(descriptor.get, "length");
verifyConfigurable(descriptor.get, "length");
reportCompare(0, 0);
|