--- id: cf1111c1c11feddfaeb7bdef title: Nest one Array within Another Array challengeType: 1 videoUrl: '' localeTitle: 将一个Array嵌套在另一个Array中 --- ## Description 您还可以在其他数组中嵌套数组,如: [["Bulls", 23], ["White Sox", 45]] 。这也称为多维数组。 ## Instructions 创建一个名为myArray的嵌套数组。 ## Tests ```yml tests: - text: myArray应至少有一个嵌套在另一个数组中的数组。 testString: assert(Array.isArray(myArray) && myArray.some(Array.isArray)); ``` ## Challenge Seed ```js // Example var ourArray = [["the universe", 42], ["everything", 101010]]; // Only change code below this line. var myArray = []; ``` ### After Test ```js console.info('after the test'); ``` ## Solution ```js // solution required ```
[["Bulls", 23], ["White Sox", 45]]
myArray