If use the pop() method on empty array then it will return undefined . Using Array length property. Array.length returns the size of the array.
確定! 回上一頁