Use the below JSON sample data below to answer the JavaScript array questions.
const games = [
{
title: 'Final Fantasy VII Remake',
release: '2020',
studio: 'Square Enix'
},
{
title: 'Final Fantasy VII Rebirth',
release: '2024',
studio: 'Square Enix'
},
{
title: 'Baldur\'s Gate 3',
release: '2023',
studio: 'Larian Studios'
},
{
title: 'Hades',
release: '2019',
studio: 'Supergiant'
},
{
title: 'Zelda Breath of the Wild',
release: '2017',
studio: 'Nintendo'
},
{
title: 'Zelda Tears of the Kingdom',
release: '2023',
studio: 'Nintendo'
},
{
title: 'Kingdom Hearts III',
release: '2020',
studio: 'Square Enix'
},
{
title: 'Horizon Zero Dawn',
release: '2017',
studio: 'Guerilla'
}
]
-
Use an array method to print out all the release dates of each game.
-
Use an array method to print out all the titles of each game.
-
Use an array method to print out all the studios of each game.
-
Use an array method to sort each game by title.
-
Use an array method to sort each game by release date.
-
Use an array method to figure out if every game was released in 2020.
-
Use an array method to figure out if every game title contains "the".
-
Use an array method to figure out if every game studio is "Square Enix".
-
Use an array method to figure out if at least one game was released in 2015.
-
Use an array method to figure out if at least one game was released in 2017.