Question d’entretien chez Trading Technologies

There were several small simple-to-complex puzzles for refactoring or rewriting JavaScript code fragments for efficiency. For example, one of the code fragments had event-listeners attached to all elements of a list.

Réponse à la question d'entretien

Utilisateur anonyme

21 oct. 2017

I refactored the code on paper. For the specific puzzle I attached the event listener to the list-item's parent element rather than each item.

1