summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/expressions/unary-plus/11.4.6-2-1.js
blob: ccc933af23101286618e6ac4ecd038121aec95c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Copyright (c) 2012 Ecma International.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
es5id: 11.4.6-2-1
description: +"" should be zero
---*/

assert.sameValue(+"", 0, '+""');

reportCompare(0, 0);