blob: 0d12df1ebd70cc44406cad32b05b5a34cada3a59 (
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 primitive
---*/
assert.sameValue(parseFloat(true), NaN, "true");
assert.sameValue(parseFloat(false), NaN, "false");
reportCompare(0, 0);
|