è¯æ³ï¼
array.forEach(callback(currentValue, index, array){åæ°ï¼
callbackï¼ä¸ºæ°ç»ä¸æ¯ä¸ªå ç´ æ§è¡çå½æ°
currentValue(å½åå¼)ï¼æ£å¨å¤ççå½åå ç´ ã
index(ç´¢å¼)ï¼æ£å¨å¤ççå½åå ç´ çç´¢å¼ã
arrayï¼forEach()æ¹æ³æ£å¨æä½çæ°ç»ã
è¿åå¼ï¼
undefined.
é¨åèµæåèHTML5å¦å