左移

2017-06-14 16:26:00
admin
原创
517
<!DOCTYPE html>
<html>
	<head>
		<title>
			Left Shift Example 1
		</title>
		<script type="text/javascript">
			var oldValue = 2; //equal to binary 10
			var newValue = oldValue << 5; //equal to binary 1000000 which is decimal 64
			alert(newValue); //64
		</script>
	</head>
	<body>
	</body>
</html>
  • QQ讨论群
  • 关注微信
    • 欢迎咨询
    • 欢迎加入QQ群 16506021
  • 公众号:源宝网络