Files
ladybird/Libraries/LibJS/Runtime/RegExpConstructor.cpp
Linus Groh 5cb45e4feb LibJS: Make RegExp() constructor spec-compliant
- Default values should depend on arguments being undefined, not being
  missing
- "(?:)" for empty pattern happens in RegExp.prototype.source, not the
  constructor
2020-11-28 01:20:11 +01:00

2.6 KiB