文件操作 - partial.js
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/atom/resources/app/apm/node_modules/es5-ext/function/#/partial.js
编辑文件内容
"use strict"; var callable = require("../../object/valid-callable") , aFrom = require("../../array/from") , defineLength = require("../_define-length") , apply = Function.prototype.apply; module.exports = function (/* …args*/) { var fn = callable(this), args = aFrom(arguments); return defineLength(function () { return apply.call(fn, this, args.concat(aFrom(arguments))); }, fn.length - args.length); };
修改文件时间
将文件时间修改为当前时间的前一年
删除文件