mirror of https://github.com/tc39/test262.git
17 lines
557 B
JavaScript
17 lines
557 B
JavaScript
|
// 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() !== "") {
|
||
|
$ERROR('#1: String.fromCharCode () returns empty string. Actual: '+String.fromCharCode());
|
||
|
}
|
||
|
//
|
||
|
//////////////////////////////////////////////////////////////////////////////
|