文件操作 - assert.js
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/nodejs/esprima/src/assert.js
编辑文件内容
"use strict"; // Ensure the condition is true, otherwise throw an error. // This is only to have a better contract semantic, i.e. another safety net // to catch a logic error. The condition shall be fulfilled in normal case. // Do NOT use this to enforce a certain condition on any user input. Object.defineProperty(exports, "__esModule", { value: true }); exports.assert = void 0; function assert(condition, message) { /* istanbul ignore if */ if (!condition) { throw new Error('ASSERT: ' + message); } } exports.assert = assert;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件