summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/TypedArrayConstructors/prototype/byteLength/inherited.js
blob: 82b3228e569573f034bbf9fb25ece4fed1dc8b52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// |reftest| shell-option(--enable-float16array)
// 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.bytelength
description: >
  _TypedArray_.prototype has no own property "byteLength"
includes: [testTypedArray.js]
features: [TypedArray]
---*/

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

reportCompare(0, 0);