Oliver Eyton-Williams 0bd52f8bd1
Feat: add new Markdown parser (#39800)
and change all the challenges to new `md` format.
2020-11-27 10:02:05 -08:00

828 B

id, title, challengeType, videoUrl, forumTopicId
id title challengeType videoUrl forumTopicId
cf1111c1c11feddfaeb7bdef Nest one Array within Another Array 1 https://scrimba.com/c/crZQZf8 18247

--description--

You can also nest arrays within other arrays, like below:

[["Bulls", 23], ["White Sox", 45]]

This is also called a multi-dimensional array.

--instructions--

Create a nested array called myArray.

--hints--

myArray should have at least one array nested within another array.

assert(Array.isArray(myArray) && myArray.some(Array.isArray));

--seed--

--after-user-code--

if(typeof myArray !== "undefined"){(function(){return myArray;})();}

--seed-contents--

// Only change code below this line
var myArray = [];

--solutions--

var myArray = [[1,2,3]];