文件操作 - thisBigIntValue.js
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/es-abstract/2021/thisBigIntValue.js
编辑文件内容
'use strict'; var callBound = require('call-bound'); var $SyntaxError = require('es-errors/syntax'); var $bigIntValueOf = callBound('BigInt.prototype.valueOf', true); // https://262.ecma-international.org/11.0/#sec-thisbigintvalue module.exports = function thisBigIntValue(value) { if (typeof value === 'bigint') { return value; } if (!$bigIntValueOf) { throw new $SyntaxError('BigInt is not supported'); } return $bigIntValueOf(value); };
修改文件时间
将文件时间修改为当前时间的前一年
删除文件