function or(txt) {
let obj = {}
txt = txt.replace(/\s*/g, "");
for (const i of txt) {
if (obj[i]) {
obj[i]++
} else {
obj[i] = 1;
}
}
console.log(obj);
return obj
}