/*! * ZUI: 数组辅助方法 - v1.9.2 - 2020-07-09 * http://openzui.com * GitHub: https://github.com/easysoft/zui.git * Copyright (c) 2020 cnezsoft.com; Licensed MIT */ !function(){"use strict";var r="function";Array.prototype.forEach||(Array.prototype.forEach=function(t){var o=this.length;if(typeof t!=r)throw new TypeError;for(var e=arguments[1],n=0;n=t&&(o=t-1));o>-1;o--)if(o in this&&this[o]===r)return o;return-1}),Array.prototype.every||(Array.prototype.every=function(t){var o=this.length;if(typeof t!=r)throw new TypeError;for(var e=arguments[1],n=0;n>>0;if("function"!=typeof r)throw new TypeError("predicate must be a function");for(var e=arguments[1],n=0;n>>0;if("function"!=typeof r)throw new TypeError("predicate must be a function");for(var e=arguments[1],n=0;n