Mogo (Canada) Interview Question

Variable scope in js