Bugsnag Interview Question

Watched while coding a basic function and asked about alternative approaches.