JavaScript
- 107 ответов
- 0 вопросов
100
Вклад в тег
/^\d{1,12}$/
function getKiller(suspects, dead) {
return Object.entries(suspects).find(suspect => dead.every(d => suspect[1].includes(d)))[0];
}
onMouseEnter
).null
.const [currentActive, setActive] = useState()
className={currentActive === el ? "active" : null}
onMouseEnter={() => setActive(el)}