js/src/tests/test262/ch11/11.11/11.11.2/S11.11.2_A2.1_T4.js

branch
TOR_BUG_3246
changeset 6
8bccb770b82d
equal deleted inserted replaced
-1:000000000000 0:5d9cf6912f0b
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 x || y uses GetValue
6 *
7 * @path ch11/11.11/11.11.2/S11.11.2_A2.1_T4.js
8 * @description If ToBoolean(x) is true and GetBase(y) is null, return true
9 */
10
11 //CHECK#1
12 if ((true || x) !== true) {
13 $ERROR('#1: (true || x) === true');
14 }
15

mercurial