Debian Codegraph @

js/src/tests/test262/built-ins/Boolean/S9.2_A2_T1.js

raw
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 info: Result of boolean conversion from null value is false
6 esid: sec-toboolean
7 description: null convert to Boolean by explicit transformation
8 ---*/
9 assert.sameValue(Boolean(null), false, 'Boolean(null) must return false');
10
11 reportCompare(0, 0);