summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/literals/boolean/S7.8.2_A1_T2.js
blob: b772876ff94571ef1fefb6a55cbbe59b2e1e3a1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
info: "Literal :: BooleanLiteral"
es5id: 7.8.2_A1_T2
description: "BooleanLiteral :: false"
---*/

//CHECK#1
if (Boolean(false) !== false) {
  throw new Test262Error('#1: Boolean(false) === false. Actual: Boolean(false) === ' + (Boolean(false)));
}

reportCompare(0, 0);