summaryrefslogtreecommitdiff
path: root/external/contributions/Google/sputnik_conformance_modified/09_Type_Conversion/9.2_ToBoolean/S9.2_A2_T1.js
blob: 7f4b542f7d0d36ebb79f2ac7e6faa5412d8f316c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/**
 * @name: S9.2_A2_T1; 
 * @section: 9.2, 15.6.1;
 * @assertion: Result of boolean conversion from null value is false;
 * @description: null convert to Boolean by explicit transformation;
*/

// CHECK#1
if (Boolean(null) !== false) {
  $ERROR('#1: Boolean(null) === false. Actual: ' + (Boolean(null))); 
}