Merge pull request #3181 from mukulkandhari/patch-2
Update task.md | Fix grammar
This commit is contained in:
commit
42b7197764
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ Let's try 5 array operations.
|
||||||
|
|
||||||
1. Create an array `styles` with items "Jazz" and "Blues".
|
1. Create an array `styles` with items "Jazz" and "Blues".
|
||||||
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 with "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 `Reggae` to the array.
|
5. Prepend `Rap` and `Reggae` to the array.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue