Added details to instructions of JS arrays waypoint; closes #2136
This commit is contained in:
@ -422,7 +422,7 @@
|
|||||||
"description": [
|
"description": [
|
||||||
"With JavaScript <code>array</code> variables, we can store several pieces of data in one place.",
|
"With JavaScript <code>array</code> variables, we can store several pieces of data in one place.",
|
||||||
"You start an array declaration with an opening bracket, end it with a closing bracket, and put a comma between each entry, like this: <code>var sandwich = [\"peanut butter\", \"jelly\", \"bread\"]</code>.",
|
"You start an array declaration with an opening bracket, end it with a closing bracket, and put a comma between each entry, like this: <code>var sandwich = [\"peanut butter\", \"jelly\", \"bread\"]</code>.",
|
||||||
"Now let's create a new array called <code>myArray</code> that contains both a <code>string</code> and a <code>number</code>.",
|
"Now let's create a new array called <code>myArray</code> that contains both a <code>string</code> and a <code>number</code> (in that order).",
|
||||||
"Refer to the comments if you get stuck."
|
"Refer to the comments if you get stuck."
|
||||||
],
|
],
|
||||||
"tests": [
|
"tests": [
|
||||||
|
Reference in New Issue
Block a user