You have already completed these exercises!
Do you want to take them again?
You completed the JS Array Search Exercises from W3Schools.com
Share on:
Consider the following code:const fruits = ['Apple', 'Orange', 'Mango'];let x = fruits.indexOf('Orange');What will the result of x?
const fruits = ['Apple', 'Orange', 'Mango'];let x = fruits.indexOf('Orange');
x
0
1
true