To create an empty array of a given size with JavaScript, we can use the Array constructor. For instance, we can write:
確定! 回上一頁