--- id: cf1111c1c11feddfaeb7bdef title: Nest one Array within Another Array challengeType: 1 videoUrl: https://scrimba.com/c/crZQZf8 forumTopicId: 18247 localeTitle: Гнездо одного массива в другом массиве --- ## Description
Вы также можете вложить массивы в другие массивы, например: [["Bulls", 23], ["White Sox", 45]] . Это также называется многомерным массивом .
## Instructions
Создайте вложенный массив с именем myArray .
## Tests
```yml tests: - text: myArray should have at least one array nested within another array. 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 Tests
```js if(typeof myArray !== "undefined"){(function(){return myArray;})();} ```
## Solution
```js var myArray = [[1,2,3]]; ```