A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/javascript/operators/bitwise_left_shift below:

bitwise left shift ยท WebPlatform Docs

bitwise left shift Summary

Left shifts the bits of an expression.

Syntax
result = expression1 << expression2
result
Any variable.
expression1
Any expression.
expression2
Any expression.
Examples

The << operator shifts the bits of expression1 left by the number of bits specified in expression2. For example, the variable temp has a value of 56 because 14 (00001110 in binary) shifted left two bits equals 56 (00111000 in binary).

var temp
temp = 14 << 2
See also Other articles Attributions

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