mirror of https://github.com/tc39/test262.git
23 lines
610 B
JavaScript
23 lines
610 B
JavaScript
// Copyright 2015 Cubane Canada, Inc. All rights reserved.
|
|
// See LICENSE for details.
|
|
|
|
/*---
|
|
info: >
|
|
Map has a property at `Symbol.species`
|
|
esid: sec-get-map-@@species
|
|
es6id: 23.1.2.2
|
|
author: Sam Mikes
|
|
description: Map[Symbol.species] exists per spec
|
|
includes: [propertyHelper.js]
|
|
features: [Symbol.species]
|
|
---*/
|
|
|
|
var desc = Object.getOwnPropertyDescriptor(Map, Symbol.species);
|
|
|
|
assert.sameValue(desc.set, undefined);
|
|
assert.sameValue(typeof desc.get, 'function');
|
|
|
|
verifyNotWritable(Map, Symbol.species, Symbol.species);
|
|
verifyNotEnumerable(Map, Symbol.species);
|
|
verifyConfigurable(Map, Symbol.species);
|