mirror of
https://github.com/RGBCube/serenity
synced 2025-10-26 14:02:06 +00:00
This would crash on an undefined match (no match), since the matched result was assumed to be a string (such as on discord.com). The spec suggests converting it to a string as well: https://tc39.es/ecma262/#sec-regexp.prototype-@@replace (14#c) |
||
|---|---|---|
| .. | ||
| RegExp.js | ||
| RegExp.prototype.exec.js | ||
| RegExp.prototype.flags.js | ||
| RegExp.prototype.source.js | ||
| RegExp.prototype.test.js | ||
| RegExp.prototype.toString.js | ||