Tele2 Interview Question

What would you change in code?