文件操作 - _arrayPush.js
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/nodejs/lodash-es/_arrayPush.js
编辑文件内容
/** Detect free variable `globalThis` */ const freeGlobalThis = typeof globalThis == 'object' && globalThis !== null && globalThis.Object == Object && globalThis; /** * Appends the elements of `values` to `array`. * * @private * @param {Array} array The array to modify. * @param {Array} values The values to append. * @returns {Array} Returns `array`. */ function arrayPush(array, values) { var index = -1, length = values.length, offset = array.length; while (++index < length) { array[offset + index] = values[index]; } return array; } export default arrayPush;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件