summaryrefslogtreecommitdiff
path: root/test/built-ins/TypedArrays/prototype/forEach/bigint-inherited.js
blob: de6e9371d76371a6fcf3fccc38ee711469f386e9 (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.foreach
description: >
  _TypedArray_.prototype has no own property "forEach"
includes: [testTypedArray.js]
features: [TypedArray]
---*/

testWithTypedArrayConstructors(function(TA) {
  assert.sameValue(TA.prototype.hasOwnProperty("forEach"), false);
});