Merge pull request #8642 from nishant-tomer/fix/grammatical-error
Fixed grammatical error in Manipulate Arrays with pushpull/8645/head
commit
27a206e31a
|
@ -1796,7 +1796,7 @@
|
|||
"title": "Manipulate Arrays With push()",
|
||||
"description": [
|
||||
"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>",
|
||||
"<h4>Instructions</h4>",
|
||||
"Push <code>[\"dog\", 3]</code> onto the end of the <code>myArray</code> variable."
|
||||
|
|
Loading…
Reference in New Issue