You have already completed these exercises!
Do you want to take them again?
You completed the JS Sorting Arrays Exercises from W3Schools.com
Share on:
Consider the following code:const fruits = ['Apple', 'Orange', 'Banana'];fruits.reverse();What will the result of the fruits array?
const fruits = ['Apple', 'Orange', 'Banana'];fruits.reverse();
fruits
['Orange', 'Banana', 'Apple']
['Banana', 'Orange', 'Apple']
['Apple', 'Banana', 'Orange']
['Orange', 'Apple', 'Banana']