点击运行
JavaScript Array.indexOf()
Internet Explorer 8 或更早的版本不支持 indexOf()。
运行结果