It's not semantic, but it's interesting.
var test = 2.6;
console.log(~~test); // 2
console.log(test | 0); // 2
OBS: It's not safe either. (Thanks @mlb)
~~9999999999.3; // 1410065407
this awesome. must be a bug!?! :-)
Be careful with this, thought :
@mlb Well observed.
Thanks for the warning.
Completely pointless but awesome.