文件操作 - min.js
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/nodejs/lodash-es/min.js
编辑文件内容
import baseExtremum from './_baseExtremum.js'; import baseLt from './_baseLt.js'; import identity from './identity.js'; /** Detect free variable `globalThis` */ const freeGlobalThis = typeof globalThis == 'object' && globalThis !== null && globalThis.Object == Object && globalThis; /** * Computes the minimum value of `array`. If `array` is empty or falsey, * `undefined` is returned. * * @static * @since 0.1.0 * @memberOf _ * @category Math * @param {Array} array The array to iterate over. * @returns {*} Returns the minimum value. * @example * * _.min([4, 2, 8, 6]); * // => 2 * * _.min([]); * // => undefined */ function min(array) { return (array && array.length) ? baseExtremum(array, identity, baseLt) : undefined; } export default min;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件