js神奇的上下取整

~~3.1415926// 3
-~3.1415926// 4

今天在https://github.com/darcyclarke/Front-end-Developer-Interview-Questions/tree/master/Chinese 第一次看到,山炮了!

Ruosen

Be a Geek, Do the right thing;