<!doctype html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Chain Array</title>
  </head>
  <body>
    <script>
    balls = ["aa","bb","cc"];
    function henry (_this, i) {
        alert(_this + i)
    }
     balls.forEach(henry);
    </script>
  </body>
</html>
posted on 2014-12-15 16:12  watercaltrop  阅读(239)  评论(0编辑  收藏  举报