summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Boolean/S9.2_A2_T1.js
blob: f35a62eb8f0b4cdb7f17aa830608480dd77f9cc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
info: Result of boolean conversion from null value is false
esid: sec-toboolean
description: null convert to Boolean by explicit transformation
---*/
assert.sameValue(Boolean(null), false, 'Boolean(null) must return false');

reportCompare(0, 0);