JSFiddle - React, Tailwind, and code Playground

by oysteinmoseng

JavaScript

console.clear();
const num = 0x70,
	b = (k, n) => (n >>> (8 * k)) & 0xff;
console.log(
	b(6, num).toString(16),
    0x70 >> 32
)