Vim regex to catch all unsafe js comparison (!=, ==)
/\(!\| =\)= \(''\|undefined\|0\|""\|null\|false\|true\)
Written by Marcin Wosinek
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#