level 1
You've read the guide, now test your knowledge of Data structures - Arrays! If you have any doubt, you can go back to the guide.
Question 1
What is the length?
1const fruits = ['apple', 'lemon', 'strawberry', 'peach'];
Select...
Question 2
What is the result?
1const fruits = ['apple', 'lemon', 'strawberry', 'peach'];
2
3console.log(fruits[1]);
Select...
Question 3
What is the result?
1const multiArray = [[1, 2, 3, 4], [5, 6, 7]];
2
3console.log(multiArray[1][2]);
Select...
Question 4
What is the result?
1const numbers = [1, 3, 5, 6, 8, 4];
2
3console.log(numbers.slice(3));
Select...