Plato on Github
Report Home
node_modules/es5-ext/test/function/_define-length.js
Maintainability
73.49
Lines of code
12
Difficulty
6.02
Estimated Errors
0.11
Function weight
By Complexity
By SLOC
'use strict'; module.exports = function (t, a) { var foo = 'raz', bar = 'dwa' , fn = function (a, b) { return this + a + b + foo + bar; } , result; result = t(fn, 3); a(result.call('marko', 'el', 'fe'), 'markoelferazdwa', "Content"); a(result.length, 3, "Length"); a(result.prototype, fn.prototype, "Prototype"); };