Commit 54b409d6 authored by Nathan Rajlich's avatar Nathan Rajlich Committed by Ben Noordhuis
Browse files

util: isRegExp() should not call toString() on its argument

An overloaded toString() method may have side effects
so don't call it for a simple type check.
parent 97287235
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment