Files
ladybird/Userland/Libraries/LibJS/Runtime/RegExpObject.cpp
Linus Groh 32052b3198 LibJS: Fix flags check in regexp_create()
We need to check for undefined, not empty - otherwise it will literally
use "undefined" as the flags, which will fail (Invalid RegExp flag 'n').
2021-03-14 12:24:57 +01:00

7.4 KiB