mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
12 lines
320 B
TypeScript
12 lines
320 B
TypeScript
//// [tests/cases/conformance/parser/ecmascript5/RegularExpressions/parserRegularExpression6.ts] ////
|
|
|
|
//// [parserRegularExpression6.ts]
|
|
declare var a;
|
|
a /= 1; // parse as infix
|
|
a = /=/; // parse as regexp
|
|
|
|
//// [parserRegularExpression6.js]
|
|
"use strict";
|
|
a /= 1; // parse as infix
|
|
a = /=/; // parse as regexp
|