In this example, we will see how to use the length property on an Array Object in JavaScript to find its length. Code: var a = [1,2,3,4,5]; console.log(a.length);.
確定! 回上一頁