Сообщество IT-специалистов
Ответы на любые вопросы об IT
Профессиональное развитие в IT
const blockID = anchor.getAttribute('href').substr(1);
const blockID = e.target.getAttribute('href').substr(1);