summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/parseFloat/S15.1.2.3_A7.6.js
blob: f75114b28ef7abab26f5a9d4095b21f1970fbea9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
info: The parseFloat property has not prototype property
esid: sec-parsefloat-string
description: Checking parseFloat.prototype
---*/

//CHECK#1
if (parseFloat.prototype !== undefined) {
  throw new Test262Error('#1: parseFloat.prototype === undefined. Actual: ' + (parseFloat.prototype));
}

reportCompare(0, 0);