Xavient interview question

add the number of elements in javascript array without using loop