Applitools Interview Question

- debug a vanilla JS program