按位运算符替代向下取整

按位运算符替代向下取整

//位运算符替代Math.floor向下取整


Math.floor(Math.random() * 51);


~~(Math.random() * 51)


该写法极大的提升了程序的运行速度