One of the main ideas behind using bitwise operators in languages like C++/java/C# is that they\'re extremely fast. But I\'ve heard that in javascript they\'re very slow (ad
I use bitwise shift of zero in JS to perform quick integer truncation:
var i=3.141532; var iTrunc=i>>0; //3