JavaScript Array length The length() property returns or sets the number of elements in an array. Example let city = ["California", "Barcelona", "Paris", "Kathmandu"]; // find the length of the city array let len = city.length; console.log(len); //...
krishnakmr.hashnode.dev4 min read
No responses yet.