Google は波の形をした~(チルダ) を検索することができないらしい
https://support.google.com/websearch/answer/2466433?hl=ja
で、javascript でこういう記述をたまに見かけて調べるのが面倒なので自分用にメモ
num / 2 とかそういうときに使う
> ~~(1.2) 1 > Math.floor(1.2) 1
配列にマッチする値がない場合とか
> [1, 2, 3].indexOf(4) === -1 true > !~[1, 2, 3].indexOf(4) true