A shorter way to do Math.floor – A little known trick
Nothing groundbreaking, but someone just handed me code that was filled with Math.floor calls. While this doesn’t automatically slow down your code the way it used to, thanks to better Javascript engines, it’s still ugly as hell to look at. Now, those people who like to put wavy brackets on individual lines will probably start [...]