this.each(function(value, index) { result = result && !!(iterator || Prototype.K)(value, index); if (!result) throw $break; }); return result; },
any: function(iterator) { var result = true; this.each(function(value, index) { if (result = !!(iterator || Prototype.K)(value, index)) throw $break; }); return result; }, http://www.cnblogs.com/ashun/archive/2006/11/29/function_call_prototype_break_continue_gorush.html 上一页 [1] [2] [3] [4] |