文件操作 - _baseTimes.js
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/nodejs/lodash-es/_baseTimes.js
编辑文件内容
/** Detect free variable `globalThis` */ const freeGlobalThis = typeof globalThis == 'object' && globalThis !== null && globalThis.Object == Object && globalThis; /** * The base implementation of `_.times` without support for iteratee shorthands * or max array length checks. * * @private * @param {number} n The number of times to invoke `iteratee`. * @param {Function} iteratee The function invoked per iteration. * @returns {Array} Returns the array of results. */ function baseTimes(n, iteratee) { var index = -1, result = Array(n); while (++index < n) { result[index] = iteratee(index); } return result; } export default baseTimes;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件