mirror of https://github.com/tc39/test262.git
21 lines
589 B
JavaScript
21 lines
589 B
JavaScript
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||
|
|
||
|
/**
|
||
|
* Multi line comment can contain HORIZONTAL TAB (U+0009)
|
||
|
*
|
||
|
* @path 07_Lexical_Conventions/7.2_White_Space/S7.2_A4.1_T1.js
|
||
|
* @description Use HORIZONTAL TAB(\u0009)
|
||
|
*/
|
||
|
|
||
|
// CHECK#1
|
||
|
eval("/*\u0009 multi line \u0009 comment \u0009*/");
|
||
|
|
||
|
//CHECK#2
|
||
|
var x = 0;
|
||
|
eval("/*\u0009 multi line \u0009 comment \u0009 x = 1;*/");
|
||
|
if (x !== 0) {
|
||
|
$ERROR('#1: var x = 0; eval("/*\\u0009 multi line \\u0009 comment \\u0009 x = 1;*/"); x === 0. Actual: ' + (x));
|
||
|
}
|
||
|
|