blob: d60d3c4b7ddf19b6ab809711bb3d678159868fae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-get-%typedarray%.prototype-@@tostringtag
description: >
_TypedArray_.prototype[@@toStringTag] is inherited from %TypedArray%
_TypedArray_.prototype has no own property @@toStringTag
includes: [testTypedArray.js]
features: [Symbol.toStringTag, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty(Symbol.toStringTag), false);
});
reportCompare(0, 0);
|