summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/types/number/S8.5_A10_T2.js
blob: 2f9615e87de5a674c5bb5837742a8d571007f860 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
info: Infinity is not a keyword
es5id: 8.5_A10
description: Create variable entitled Infinity
flags: [noStrict]
---*/

var Infinity=1.0;
Infinity='asdf';
Infinity=true;

reportCompare(0, 0);