Plato on Github
Report Home
node_modules/es5-ext/array/#/uniq.js
Maintainability
91.51
Lines of code
13
Difficulty
6.07
Estimated Errors
0.07
Function weight
By Complexity
By SLOC
'use strict'; var indexOf = require('./e-index-of') , filter = Array.prototype.filter , isFirst; isFirst = function (value, index) { return indexOf.call(this, value) === index; }; module.exports = function () { return filter.call(this, isFirst, this); };