[...document.querySelectorAll(".item")]
.map((item) => item.querySelector(".count").textContent)
async function zipper() {
const ports = [ "1", "2", "3" ];
const urls = [ "q", "w", "e", "r", "t", "y" ];
for (let i = 0; i < urlsLength; i++) {
const combo = urls[i] + ports[i % ports.length];
await getSomePromise(combo);
}
}
const getLengthArray = (str) => {
// строку в массив букв
const elems = str.split('');
// Set из уникальных букв
const unique = new Set(elems);
// вернуть размер
return unique.size;
};
console.log(getLengthArray('Hello')); // 4
maxAttempts
)