Ad
  • Default User Avatar

    ~~ is a double NOT bitwise operator. It's essentially the same as Math.floor(n), except I think ~~ is sligthly faster and Math.floor(NaN) returns NaN, whereas ~~NaN returns 0.

    Google is your friend, if you wanna know the specifics.