playable
Version:
Video player based on HTML5Video
16 lines • 539 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.forEachMatch = exports.reduce = void 0;
function reduce(arrayLike, callback, initialValue) {
return Array.prototype.reduce.call(arrayLike, callback, initialValue);
}
exports.reduce = reduce;
function forEachMatch(string, pattern, callback) {
var match = pattern.exec(string);
while (match !== null) {
callback(match);
match = pattern.exec(string);
}
}
exports.forEachMatch = forEachMatch;
//# sourceMappingURL=utils.js.map