Question d’entretien chez Velotio

How would you handle memory leaks in JavaScript.