Plato on Github
Report Home
node_modules/es5-ext/test/array/#/uniq.js
Maintainability
71.77
Lines of code
14
Difficulty
9.54
Estimated Errors
0.15
Function weight
By Complexity
By SLOC
'use strict'; module.exports = { __generic: function (t, a) { a(t.call(this).length, 3); }, "": function (t, a) { var o, x = {}, y = {}, z = {}, w; o = [1, 2, x, 3, 1, 'raz', '1', y, x, 'trzy', z, 'raz']; a.not(w = t.call(o), o, "Returns different object"); a.deep(w, [1, 2, x, 3, 'raz', '1', y, 'trzy', z], "Result"); } };