Applitools interview question

- debug a vanilla JS program