Domanda di colloquio di Revolut

How would you create your own virtual DOM using javascript