You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @sindresorhus, this might be a very little performance improvement, but it makes the code even clearer. Instead of inlining the regex for testing absolute urls inside the body of the function, it would be better to extract it outside and then referencing it:
Hi @sindresorhus, this might be a very little performance improvement, but it makes the code even clearer. Instead of inlining the regex for testing absolute urls inside the body of the function, it would be better to extract it outside and then referencing it:
The text was updated successfully, but these errors were encountered: