(0x01 | 0x03).toString(2)
"11"
(0x01 & 0x03).toString(2)
"1"
(0x01 ^ 0x03).toString(2)
"10"
(~0xECA86420).toString(16)
"13579bdf"
(0xFFFF >> 4).toString(16)
"fff"
var a = 1; a <<= 2; print(a);
The console allows you to interact with the course material and examples. Use the following keys:
A special logging function is also available: