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

verifyProperty(isNaN, "length", {
  value: 1,
  writable: false,
  enumerable: false,
  configurable: true
});

reportCompare(0, 0);