Fixed grammatical error in Manipulate Arrays with push
This commit is contained in:
@ -1796,7 +1796,7 @@
|
|||||||
"title": "Manipulate Arrays With push()",
|
"title": "Manipulate Arrays With push()",
|
||||||
"description": [
|
"description": [
|
||||||
"An easy way to append data to the end of an array is via the <code>push()</code> function.",
|
"An easy way to append data to the end of an array is via the <code>push()</code> function.",
|
||||||
"<code>.push()</code> takes one or more <dfn>parameter</dfn> and \"pushes\" it onto the end of the array.",
|
"<code>.push()</code> takes one or more <dfn>parameters</dfn> and \"pushes\" them onto the end of the array.",
|
||||||
"<blockquote>var arr = [1,2,3];<br>arr.push(4);<br>// arr is now [1,2,3,4]</blockquote>",
|
"<blockquote>var arr = [1,2,3];<br>arr.push(4);<br>// arr is now [1,2,3,4]</blockquote>",
|
||||||
"<h4>Instructions</h4>",
|
"<h4>Instructions</h4>",
|
||||||
"Push <code>[\"dog\", 3]</code> onto the end of the <code>myArray</code> variable."
|
"Push <code>[\"dog\", 3]</code> onto the end of the <code>myArray</code> variable."
|
||||||
|
Reference in New Issue
Block a user