summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/NaN/S15.1.1.1_A2_T2.js
blob: 43a4423d3c96e95fcbb343b96722a56586fa0060 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright (C) 2015 André Bargull. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
info: The NaN is ReadOnly
es5id: 15.1.1.1_A2_T2
description: Checking typeof Functions
flags: [noStrict]
---*/

// CHECK#1
NaN = true;
assert.notSameValue(typeof(NaN), "boolean", 'The value of typeof(NaN) is not "boolean"');

// TODO: Convert to verifyProperty() format.

reportCompare(0, 0);