This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #10961. XRegExp's shimmed .exec() can't handle undefined.
There's no reason to call quickParse if selector is falsy, so it's a minor performance optimization anyway. No change in behavior at all on our side, so no test case needed.
- Loading branch information
Showing 1 changed file with 1 addition and 1 deletion.