mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
15 lines
389 B
TypeScript
15 lines
389 B
TypeScript
//// [tests/cases/conformance/parser/ecmascript5/parserNotRegex1.ts] ////
|
|
|
|
//// [parserNotRegex1.ts]
|
|
if (a.indexOf(-(4/3))) // We should not get a regex here because of the / in the comment.
|
|
{
|
|
return true;
|
|
}
|
|
|
|
//// [parserNotRegex1.js]
|
|
"use strict";
|
|
if (a.indexOf(-(4 / 3))) // We should not get a regex here because of the / in the comment.
|
|
{
|
|
return true;
|
|
}
|