小编Alp*_*low的帖子

js中的"<<"运算符是什么?

在我正在阅读的一些代码中使用"<<",我无法找到有关它究竟是什么的任何文档.我认为这是某种有点明智的功能.

console.log(4<<3); 
//This prints out 32.
Run Code Online (Sandbox Code Playgroud)

有任何想法吗?

javascript operators

-2
推荐指数
1
解决办法
84
查看次数

标签 统计

javascript ×1

operators ×1