http://www.javascriptturnsmeon.com/the-tilde-operator-in-javascript/
波浪号在javascript中的作用。妙!
str.indexOf(substr) != -1 <==> ~str.indexOf(substr)