Plato on Github
Report Home
node_modules/es5-ext/function/#/lock.js
Maintainability
84.94
Lines of code
12
Difficulty
4.40
Estimated Errors
0.06
Function weight
By Complexity
By SLOC
'use strict'; var callable = require('../../object/valid-callable') , apply = Function.prototype.apply; module.exports = function (/*…args*/) { var fn = callable(this) , args = arguments; return function () { return apply.call(fn, this, args); }; };