summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/regexp/bug1419785.js
blob: b40eca9f8cbcfc1b2c82c7fec0d53680bf1d6ab8 (plain)
1
2
3
// |jit-test| error:character class
Object.defineProperty(RegExp.prototype, Symbol.search, {get: () => { throw "wrong"; }});
"abc".search("[[");