how to count array length without space in javascript

Solutions on MaxInterview for how to count array length without space in javascript by the best coders in the world