test262/test/language/expressions/unary-plus/11.4.6-2-1.js

10 lines
232 B
JavaScript

// 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, '+""');