Merge pull request #11855 from johnnyqbui/fix/description
Revise description for Concatenate Arrays with .concat Challenge
This commit is contained in:
		@@ -563,10 +563,13 @@
 | 
			
		||||
      "id": "cf1111c1c16feddfaeb3bdef",
 | 
			
		||||
      "title": "Concatenate Arrays with .concat",
 | 
			
		||||
      "description": [
 | 
			
		||||
        "<code>concat</code> can be used to merge the contents of two arrays into one.",
 | 
			
		||||
        "<code>concat</code> can be used to merge the contents of two or more arrays into one.",
 | 
			
		||||
        "<code>concat</code> takes an array as an argument and returns a new array with the elements of this array concatenated onto the end.",
 | 
			
		||||
        "Here is an example of <code>concat</code> being used to concatenate <code>otherArray</code> onto the end of <code>oldArray</code>:",
 | 
			
		||||
        "<code>newArray = oldArray.concat(otherArray);</code>",
 | 
			
		||||
        "Here are examples of <code>concat</code> being used to concatenate arrays:",
 | 
			
		||||
        "Example 1: <code>otherArray</code> onto the end of <code>oldArray</code>:",
 | 
			
		||||
        "<blockquote>newArray = oldArray.concat(otherArray);</blockquote>",
 | 
			
		||||
        "Example 2: <code>newArray</code> with all the elements of <code>arr1</code>, <code>arr2</code>, and <code>arr3</code>:",
 | 
			
		||||
        "<blockquote>newArray = arr1.concat(arr2, arr3);</blockquote>",
 | 
			
		||||
        "Use <code>.concat()</code> to concatenate <code>concatMe</code> onto the end of <code>oldArray</code> and assign it to <code>newArray</code>."
 | 
			
		||||
      ],
 | 
			
		||||
      "challengeSeed": [
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user