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

/**
 * @name: S8.1_A3;
 * @section: 8.1;
 * @assertion: undefined is now non-writable in es5;
 * @description: "undefined=1" should throw a TypeError; 
*/


// Converted for Test262 from original Sputnik source

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

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

assertion: "undefined is now non-writable in es5",

description: "\"undefined=1\" should throw a TypeError",

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

 }
});