Frage im Vorstellungsgespräch bei Elastic Path

Refactoring task - had to explain my solution in 2nd technical interview.