📅  最后修改于: 2022-03-11 15:01:15.388000             🧑  作者: Mango
// Ways to create an array in javascript
const stuff = [element1, element2, ...]; // array literal notation
const stuff = new Array(element1, element2, ...); // array object notation