Closed
Description
Bug Report
Regression introduced in #801:
prefer-tacit
reports on [''].filter(str => /a/.test(str))
.
Expected behavior
No errors reported, since changing to [''].filter(/a/.test)
causes a JavaScript error.
Actual behavior
No reports by prefer-tacit
.