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

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