mirror of https://github.com/tc39/test262.git
22 lines
595 B
JavaScript
22 lines
595 B
JavaScript
// 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);
|