blob: 3975eef77749870d6e684964c78647bf664c6e2d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: Operator use ToString
esid: sec-parsefloat-string
description: Checking for Boolean object
---*/
assert.sameValue(parseFloat(new Boolean(true)), NaN, "new Boolean(true)");
assert.sameValue(parseFloat(new Boolean(false)), NaN, "new Boolean(false)");
reportCompare(0, 0);
|