js/src/tests/test262/ch11/11.4/11.4.3/S11.4.3_A2_T2.js

branch
TOR_BUG_3246
changeset 6
8bccb770b82d
equal deleted inserted replaced
-1:000000000000 0:859b36407642
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 * Operator "typeof" uses GetValue
6 *
7 * @path ch11/11.4/11.4.3/S11.4.3_A2_T2.js
8 * @description If GetBase(x) is null, return "undefined"
9 */
10
11 //CHECK#1
12 if (typeof x !== "undefined") {
13 $ERROR('#1: typeof x === "undefined". Actual: ' + (typeof x));
14 }
15

mercurial