Sollicitatievraag bij Algotec

Gave some basic javascript code, very simple. had to find mistakes in the code and