* Use dfn tags
* remove misused <dfn> tags
* Revert "remove misused <dfn> tags"
This reverts commit b24968a968
.
* Update curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/fill-in-the-blank-with-placeholder-text.english.md
Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
* Make "array" lowercase
Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
* Fix dfn usage
* Address last dfn tags
1.1 KiB
1.1 KiB
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
[["Bulls", 23], ["White Sox", 45]]
. This is also called a multi-dimensional arrray.
Instructions
myArray
.
Tests
tests:
- text: <code>myArray</code> should have at least one array nested within another array.
testString: assert(Array.isArray(myArray) && myArray.some(Array.isArray));
Challenge Seed
// Example
var ourArray = [["the universe", 42], ["everything", 101010]];
// Only change code below this line.
var myArray = [];
After Test
if(typeof myArray !== "undefined"){(function(){return myArray;})();}
Solution
var myArray = [[1,2,3]];