Files
tsgo/testdata/baselines/reference/submodule/conformance/parserRegularExpression2.js

9 lines
260 B
TypeScript

//// [tests/cases/conformance/parser/ecmascript5/RegularExpressions/parserRegularExpression2.ts] ////
//// [parserRegularExpression2.ts]
href.match(/:\/\/(.[^/]+)/)[1];
//// [parserRegularExpression2.js]
"use strict";
href.match(/:\/\/(.[^/]+)/)[1];