Udemy Interview Question

How could you break this function?