This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*************************************************************************************************** | |
* @param {Array} [arr] [the array to be iterated] | |
* | |
* @param {Function} [process] [the callback to process the element in array] | |
* (elm, idx, arr, resolve) | |
* @description [process(elm, idx, arr, resolve) { return true; // return true to terminate current loop }] | |
* | |
* @param {Object} [options] [the iteration configurations] | |
* {loopStart, loopEnd, travType} | |
* @description [loopStart inclusive the index, loopEnd exclusive the index] |
NewerOlder