Author:月影 From:http://bbs.51js.com/thread-66469-1-1.html 代码如下:[removed] function ArrayList() { var ins = Array.apply(this, arguments); ins.constructor = arguments.callee; ins.base = Array; ins.each = function(closure) { if(typeof closure == ‘undefined’) closure = functi