tests/auto/qml/ecmascripttests/test262/test/built-ins/parseFloat/S15.1.2.3_A7.6.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: The parseFloat property has not prototype property |
| 6 | es5id: 15.1.2.3_A7.6 |
| 7 | es6id: 18.2.4 |
| 8 | esid: sec-parsefloat-string |
| 9 | description: Checking parseFloat.prototype |
| 10 | ---*/ |
| 11 | |
| 12 | //CHECK#1 |
| 13 | if (parseFloat.prototype !== undefined) { |
| 14 | $ERROR('#1: parseFloat.prototype === undefined. Actual: ' + (parseFloat.prototype)); |
| 15 | } |