1 强制类型转换为bool
!!expr
解析:!expr是将expr强制转换为bool,并取非,!!取得正常的值
2 Math.floor(f)
~~f
例如:Math.floor(840,89) = 840 ,~~840.89 = 840