blob: f479a991eec96f857d449f924f31dcd64e8c80ed [file] [log] [blame]
// Copyright (C) 2015 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 23.2.3.9
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");