/*! * ZUI: 数组辅助方法 - v1.10.0 - 2021-11-04 * http://openzui.com * GitHub: https://github.com/easysoft/zui.git * Copyright (c) 2021 cnezsoft.com; Licensed MIT */ !function(){"use strict";var r="function";Array.prototype.lastIndexOf||(Array.prototype.lastIndexOf=function(r){var t=this.length,e=Number(arguments[1]);for(isNaN(e)?e=t-1:(e=e<0?Math.ceil(e):Math.floor(e),e<0?e+=t:e>=t&&(e=t-1));e>-1;e--)if(e in this&&this[e]===r)return e;return-1}),Array.prototype.every||(Array.prototype.every=function(t){var e=this.length;if(typeof t!=r)throw new TypeError;for(var o=arguments[1],n=0;n>>0;if("function"!=typeof r)throw new TypeError("predicate must be a function");for(var o=arguments[1],n=0;n>>0;if("function"!=typeof r)throw new TypeError("predicate must be a function");for(var o=arguments[1],n=0;n