Pergunta de entrevista da empresa Xavient

add the number of elements in javascript array without using loop