summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Number/S9.3.1_A1.js
blob: dc7a2cbbfaecd8dd8f0437860702efcc2cb570d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
info: "The MV of StringNumericLiteral ::: [empty] is 0"
es5id: 9.3.1_A1
description: Number('') convert to Number by explicit transformation
---*/
assert.sameValue(Number(""), 0, 'Number("") must return 0');

reportCompare(0, 0);