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

/*---
info: String.fromCharCode () returns empty string
es5id: 15.5.3.2_A2
description: Call String.fromCharCode()
---*/

//////////////////////////////////////////////////////////////////////////////
//CHECK#1
if (String.fromCharCode() !== "") {
  throw new Test262Error('#1: String.fromCharCode () returns empty string. Actual: ' + String.fromCharCode());
}
//
//////////////////////////////////////////////////////////////////////////////

reportCompare(0, 0);