Celsior Technologies Interview Question

JS concepts, coding question on array.