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