test262/test/suite/ch07/7.8/7.8.4/S7.8.4_A5.1_T1.js

13 lines
326 B
JavaScript

// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: "EscapeSequence :: 0"
description: String.fromCharCode(0x0000)
---*/
//CHECK#1
if (String.fromCharCode(0x0000) !== "\0") {
$ERROR('#1: String.fromCharCode(0x0000) === "\\0"');
}