文件操作 - math-scale.js
返回文件管理
返回主菜单
删除本文件
文件: /node_modules/core-js/internals/math-scale.js
编辑文件内容
// `Math.scale` method implementation // https://rwaldron.github.io/proposal-math-extensions/ module.exports = Math.scale || function scale(x, inLow, inHigh, outLow, outHigh) { if ( arguments.length === 0 /* eslint-disable no-self-compare */ || x != x || inLow != inLow || inHigh != inHigh || outLow != outLow || outHigh != outHigh /* eslint-enable no-self-compare */ ) return NaN; if (x === Infinity || x === -Infinity) return x; return (x - inLow) * (outHigh - outLow) / (inHigh - inLow) + outLow; };
修改文件时间
将文件时间修改为当前时间的前一年
删除文件