summaryrefslogtreecommitdiff
path: root/test/built-ins/TypedArrays/prototype/subarray/bigint-inherited.js
blob: 53901a6cbcb476558a2dda06ccc7317712774b57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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-%typedarray%.prototype.subarray
description: >
  _TypedArray_.prototype has no own property "subarray"
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/

testWithBigIntTypedArrayConstructors(function(TA) {
  assert.sameValue(TA.prototype.hasOwnProperty("subarray"), false);
});