Skip to content

Instantly share code, notes, and snippets.

@keesey
keesey / combineUIDs.js
Last active December 18, 2015 15:59
combine UIDs
function combineUIDs(o)
{
function cu(a, b)
{
function cc(a, b)
{
if (a === '-') return '-';
return Number(parseInt(a, 16) ^ parseInt(b, 16)).toString(16);
}
var i = 0,