summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/isFinite/length.js
blob: 6d18559474f910d08b5a9ef3cbdf834b8bfcc4ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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-isfinite-number
description: >
  The length property of isFinite is 1
includes: [propertyHelper.js]
---*/

assert.sameValue(isFinite.length, 1, "The value of `isFinite.length` is `1`");

verifyNotEnumerable(isFinite, "length");
verifyNotWritable(isFinite, "length");
verifyConfigurable(isFinite, "length");

reportCompare(0, 0);