点击运行
JavaScript 数组
Array.forEach() 为每个数组元素调用函数。
Internet Explorer 8 以及更早的版本不支持 Array.forEach()。
运行结果