文件操作 - Type.js
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/es-abstract/5/Type.js
编辑文件内容
'use strict'; var isObject = require('../helpers/isObject'); // https://262.ecma-international.org/5.1/#sec-8 module.exports = function Type(x) { if (x === null) { return 'Null'; } if (typeof x === 'undefined') { return 'Undefined'; } if (isObject(x)) { return 'Object'; } if (typeof x === 'number') { return 'Number'; } if (typeof x === 'boolean') { return 'Boolean'; } if (typeof x === 'string') { return 'String'; } };
修改文件时间
将文件时间修改为当前时间的前一年
删除文件