mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
659 B
19 lines
659 B
4 years ago
|
## Cultural Shift
|
||
|
|
||
|
![yayoi](https://user-images.githubusercontent.com/231748/112496181-6f6fef80-8d7c-11eb-8206-3da56f696af0.jpg)
|
||
|
|
||
|
Oh noes, Japanese artists have been left out, let's fix this !
|
||
|
|
||
|
### Instructions
|
||
|
|
||
|
You must modify the provided `popArtists` array using a combination of the
|
||
|
`push` and `shift` array methods.
|
||
|
|
||
|
- Add `'Yayoi Kusama'` at the begining of the array
|
||
|
- Add `'Takashi Murakami'` at the end of the array
|
||
|
|
||
|
### Notions
|
||
|
|
||
|
- [devdocs.io/javascript/global_objects/array/shift](https://devdocs.io/javascript/global_objects/array/shift)
|
||
|
- [devdocs.io/javascript/global_objects/array/push](https://devdocs.io/javascript/global_objects/array/push)
|