In Arrays what is the difference between Array.size() and Array.length
Array.size() is not a valid method in Javascript and always prefer using the .length property to get the length of an array.
Array.size()
.length