Incedo Interview Question

basic javascript