Source code
Revision control
Copy as Markdown
Other Tools
// Copyright 2015 Cubane Canada, Inc. All rights reserved.
// See LICENSE for details.
/*---
esid: sec-get-set-@@species
description: Set[Symbol.species] exists per spec
info: |
Set has a property at `Symbol.species`
author: Sam Mikes
includes: [propertyHelper.js]
features: [Symbol.species]
---*/
var desc = Object.getOwnPropertyDescriptor(Set, Symbol.species);
assert.sameValue(desc.set, undefined);
assert.sameValue(typeof desc.get, 'function');
verifyNotWritable(Set, Symbol.species, Symbol.species);
verifyNotEnumerable(Set, Symbol.species);
verifyConfigurable(Set, Symbol.species);
reportCompare(0, 0);