Merge pull request #189 from micahstubbs/patch-1

Reggie --> Reggae
This commit is contained in:
Ilya Kantor 2017-09-18 07:57:43 +02:00 committed by GitHub
commit 7cb89de634

View file

@ -10,7 +10,7 @@ Let's try 5 array operations.
2. Append "Rock-n-Roll" to the end. 2. Append "Rock-n-Roll" to the end.
3. Replace the value in the middle by "Classics". Your code for finding the middle value should work for any arrays with odd length. 3. Replace the value in the middle by "Classics". Your code for finding the middle value should work for any arrays with odd length.
4. Strip off the first value of the array and show it. 4. Strip off the first value of the array and show it.
5. Prepend `Rap` and `Reggie` to the array. 5. Prepend `Rap` and `Reggae` to the array.
The array in the process: The array in the process:
@ -19,6 +19,6 @@ Jazz, Blues
Jazz, Bues, Rock-n-Roll Jazz, Bues, Rock-n-Roll
Jazz, Classics, Rock-n-Roll Jazz, Classics, Rock-n-Roll
Classics, Rock-n-Roll Classics, Rock-n-Roll
Rap, Reggie, Classics, Rock-n-Roll Rap, Reggae, Classics, Rock-n-Roll
``` ```