Debian Codegraph @

js/src/tests/test262/built-ins/Infinity/S15.1.1.2_A2_T2.js

raw
1 // Copyright 2009 the Sputnik authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 info: The Infinity is ReadOnly
6 es5id: 15.1.1.2_A2_T2
7 description: Checking typeof Functions
8 flags: [noStrict]
9 ---*/
10
11 // CHECK#1
12 Infinity = true;
13 assert.notSameValue(typeof(Infinity), "boolean", 'The value of typeof(Infinity) is not "boolean"');
14
15 // TODO: Convert to verifyProperty() format.
16
17 reportCompare(0, 0);