🌈 搜索
📅  最后修改于: 2022-03-11 15:02:12.152000             🧑  作者: Mango
var fruits = ["Banana", "Orange", "Apple", "Mango"]; return fruits.indexOf("Apple"); // Returns 2