shyam
answered Apr 15 '22 00:00
there is no count() function in javascript for the array.
totalnoofelementinarray = ["ca", "e", "a", "3"];
totalnoofelementinarray = fruits.length;alert(totalnoofelementinarray)
there is length property for array which return count of the element in the array