function getCode() {
let code = [];
let num = parseInt(Math.random() * 10);
let num1 = parseInt(Math.random() * 10);
let zm_x1 = String.fromCharCode(parseInt(97 + Math.random() * 26));
let zm_x = String.fromCharCode(parseInt(97 + Math.random() * 26));
let zm_d = String.fromCharCode(parseInt(65 + Math.random() * 26));
code.push(num, zm_x, zm_d, zm_x1, num1);
return `${code[parseInt(Math.random() * 5)]}${code[parseInt(Math.random() * 5)]}${code[parseInt(Math.random() * 5)]}${code[parseInt(Math.random() * 5)]}`
}
let time = document.getElementById('time');
setInterval(function () {
time.innerText = getCode();
}, 1000)