Yusuke Suzuki e8cdf923ef Property clearing code of RegExp constructor is wrong
This code is setting values to $1 etc., which can be non-writable or accessors.
For example, https://github.com/tc39/proposal-regexp-legacy-features/ is specifying them as accessors, and they should throw an error when
it is done in strict code. We should execute `(/(?:)/).test("");` to clear them.
2020-09-02 15:32:18 -04:00
..
2020-07-21 16:57:50 -04:00
2020-08-21 15:58:21 -04:00
2020-06-24 12:26:41 -04:00
2020-06-24 12:26:41 -04:00