Arduino Array Length Function In Js