文件操作 - install-error-cause.js
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/nodejs/core-js/internals/install-error-cause.js
编辑文件内容
var isObject = require('../internals/is-object'); var createNonEnumerableProperty = require('../internals/create-non-enumerable-property'); // `InstallErrorCause` abstract operation // https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause module.exports = function (O, options) { if (isObject(options) && 'cause' in options) { createNonEnumerableProperty(O, 'cause', options.cause); } };
修改文件时间
将文件时间修改为当前时间的前一年
删除文件