Plato on Github
Report Home
node_modules/es5-ext/test/object/assign/shim.js
Maintainability
58.49
Lines of code
11
Difficulty
9.53
Estimated Errors
0.12
Function weight
By Complexity
By SLOC
'use strict'; module.exports = function (t, a) { var o1 = { a: 1, b: 2 } , o2 = { b: 3, c: 4 }; a(t(o1, o2), o1, "Returns self"); a.deep(o1, { a: 1, b: 3, c: 4 }, "Single: content"); a.deep(t({}, o1, o2), { a: 1, b: 3, c: 4 }, "Multi argument"); };