Plato on Github
Report Home
node_modules/es5-ext/array/#/separate.js
Maintainability
80.78
Lines of code
10
Difficulty
5.60
Estimated Errors
0.06
Function weight
By Complexity
By SLOC
'use strict'; var forEach = Array.prototype.forEach; module.exports = function (sep) { var result = []; forEach.call(this, function (val, i) { result.push(val, sep); }); result.pop(); return result; };