mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 15:35:08 +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 |