标签:des style blog io ar sp java for on
1. >> 按位右移运算符
result = expression1 >> expression2
右移表达式的位,保持符号不变。
var inputValue = ‘4‘; //0000 0100 -> 0000 0001 console.log(inputValue >> 2); //1 //1 var inputValue2 = -14; console.log(inputValue2 >> 2) //-4
标签:des style blog io ar sp java for on
原文地址:http://www.cnblogs.com/teamobaby/p/4114990.html