summaryrefslogtreecommitdiff
path: root/test/built-ins/TypedArrays/prototype/indexOf/bigint-inherited.js
blob: 7f403c3df41957be099262a72b6600e53676131c (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.indexof
description: >
  _TypedArray_.prototype has no own property "indexOf"
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/

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