aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A10.js
blob: 0b5985f17a4baf395338cc5e7f87cca5c2b3edda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/**
 * @name: S8.5_A10;
 * @section: 8.5, 7.8.3;
 * @assertion: Infinity is not a keyword;
 * @description: Create variable entitled Infinity;
*/


// Converted for Test262 from original Sputnik source

ES5Harness.registerTest( {
id: "S8.5_A10",

path: "TestCases/08_Types/8.5_The_Number_Type/S8.5_A10.js",

assertion: "Infinity is not a keyword",

description: "Create variable entitled Infinity",

test: function testcase() {
   var Infinity=1.0;
Infinity='asdf';
Infinity=true;

 }
});