summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Infinity/S15.1.1.2_A2_T2.js
blob: ab3a30005c25188373dfde3a4f6426849f01803d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

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

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

// TODO: Convert to verifyProperty() format.

reportCompare(0, 0);