summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/NaN/prop-desc.js
blob: 766daaaf372e719aaad9edd101b1cd9f622b10b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (C) 2019 Bocoup. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
esid: sec-value-properties-of-the-global-object-nan
description: Property descriptor of NaN
info: |
  This property has the attributes { [[Writable]]: false, [[Enumerable]]:
  false, [[Configurable]]: false }.
includes: [propertyHelper.js]
---*/

verifyProperty(this, "NaN", {
  enumerable: false,
  writable: false,
  configurable: false
});

reportCompare(0, 0);