TypeScript/tests/cases/conformance/parser/ecmascript5/parserNotRegex1.ts
2014-07-12 17:30:19 -07:00

4 lines
No EOL
124 B
TypeScript

if (a.indexOf(-(4/3))) // We should not get a regex here becuase of the / in the comment.
{
return true;
}