Plato on Github
Report Home
node_modules/es5-ext/array/#/compact.js
Maintainability
93.10
Lines of code
7
Difficulty
4.77
Estimated Errors
0.04
Function weight
By Complexity
By SLOC
// Inspired by: http://documentcloud.github.com/underscore/#compact 'use strict'; var filter = Array.prototype.filter; module.exports = function () { return filter.call(this, function (val) { return val != null; }); };