Moves the specified number of bits to the left and assigns the result to result. The bits vacated by the operation are filled with 0.
Syntaxresult <<= expression
Using the <<= operator is the same as specifying result = result << expression
var temp = 14;
temp <<= 2;
document.write(temp);
Output: 56
See also Other articles
Microsoft Developer Network: Article
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4