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

14 lines
294 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
includes: [runTestCase.js]
---*/
function testcase() {
return +"" === 0;
}
runTestCase(testcase);