JS中 => ; ===的意义
=>是es6语法中的arrow function
举例:(x) => x + 6
相当于
function(x){ return x + 6; }
>>>是无符号移位运算符
举例:
100>>>2
相当于
先将100转换成二进制01100100,向右移两位后得00011001,再转换回十进制,得25
=>是es6语法中的arrow function举例:(x) => x + 6
相当于
function(x){ return x + 6; }
>>>是无符号移位运算符
举例:
100>>>2
相当于
先将100转换成二进制01100100,向右移两位后得00011001,再转换回十进制,得25
It's not who you are underneath, it's what you do that defines you
Brick walls are there for a reason :they let us prove how badly we want things