summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/regexp/bug1718842-1.js
blob: 35b557b6b49f7f8c62ef36e9494afbe72f854f3f (plain)
1
2
3
4
5
6
7
var g = newGlobal({sameZoneAs: this});

var re1 = RegExp("(?<a>a)");
var re2 = g.RegExp("(?<a>a)");

re1.exec("a");
re2.exec("a");