JSFiddle - React, Tailwind, and code Playground

by oysteinmoseng

JavaScript

console.clear();
const num = 0x514;
console.log(
	(num >> 8 & 0xff).toString(16),
    (num & 0xff).toString(16)
);