Question d’entretien chez Meta

create a function to clearAllTimeouts. And create a render function that takes a nested object of dom elements and appends them to the document body

Réponses aux questions d'entretien

Utilisateur anonyme

22 févr. 2022

const highestId = window.setTimeout(() => { for (let i = highestId; i >= 0; i--) { window.clearInterval(i); } }, 10);

Utilisateur anonyme

15 févr. 2022

overrode the setTimeout function to store timeoutids in an array.

Utilisateur anonyme

22 févr. 2022

Test <div>My Div</div>