const array2 = new Array("eat", "sleep");. In both of the above examples, we have created an array having two elements. Note: It is recommended to use array ...
確定! 回上一頁