Hướng dẫn thử thách
1 / 4
How Do You Get the Index for an Element in an Array Using the indexOf Method?
What will be the output of the following code?
```js
let numbers = [10, 20, 30, 20, 40];
let index = numbers.indexOf(20);
console.log(index);
```
Vượt qua bài kiểm tra hiện tại để mở khóa bài tiếp theo.
main.js
UTF-8 • Tab Size: 2Kiểm tra bài:⌘↵