exiftool-vendored
Version:
Efficient, cross-platform access to ExifTool
13 lines • 419 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.times = times;
/**
* Generates an array by running a function n times
* @param n The number of times to run the function
* @param fn The function to generate each element
* @returns An array containing the results
*/
function times(n, f) {
return Array.from({ length: n }, (_, i) => f(i));
}
//# sourceMappingURL=Times.js.map
;