const BASE64_LIST = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/' ; const HEX_LIST = '0123456789abcdef' ; return { string } export function randomWin32DeviceUUID ( ) { return Array . from ( { length : 86 } , ( ) => BASE64_LIST [ ~ ~ ( Math . random ( ) * 64 ) ] ) . join ( '' ) + '==' ; } return { string } export function randomAndroidSubDeviceUUID ( ) { return Array . from ( { length : 40 } , ( ) => HEX_LIST [ ~ ~ ( Math . random ( ) * 16 ) ] ) . join ( '' ) ; }