mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 19:21:33 +03:00
13 lines
208 B
JavaScript
13 lines
208 B
JavaScript
function f() {
|
|
var a = [94, 173, 190, 239];
|
|
var b = 0;
|
|
b |= a[0];
|
|
b <<= 8;
|
|
b |= a[1];
|
|
b <<= 8;
|
|
b |= a[2];
|
|
b <<= 8;
|
|
b |= a[3];
|
|
return b;
|
|
}
|
|
console.log(f().toString(16)); |