aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/08_Types/8.1_The_Undefined_Type/S8.1_A1_T1.js
blob: 7683d1346835edbb442d95002c09a6d2517860bc (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
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/**
 * @name: S8.1_A1_T1;
 * @section: 8.1;
 * @assertion: The Undefined type has one value, called undefined;
 * @description: Checking if execution of "var x = undefined" passes; 
*/


// Converted for Test262 from original Sputnik source

ES5Harness.registerTest( {
id: "S8.1_A1_T1",

path: "TestCases/08_Types/8.1_The_Undefined_Type/S8.1_A1_T1.js",

assertion: "The Undefined type has one value, called undefined",

description: "Checking if execution of \"var x = undefined\" passes",

test: function testcase() {
   // CHECK#1
var x = undefined;

 }
});