summaryrefslogtreecommitdiff
path: root/test/built-ins/parseFloat/15.1.2.3-2-1.js
blob: 856caddc3923e643698445af37f7ecc2f39b80b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright (c) 2012 Ecma International.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
es5id: 15.1.2.3-2-1
description: >
    pareseFloat - 'trimmedString' is the empty string when inputString
    does not contain any such characters
includes: [runTestCase.js]
---*/

function testcase() {
        return isNaN(parseFloat("")) && parseFloat("") !== parseFloat("");
    }
runTestCase(testcase);