Plato on Github
Report Home
node_modules/es5-ext/array/#/indexes-of.js
Maintainability
66.78
Lines of code
12
Difficulty
9.63
Estimated Errors
0.08
Function weight
By Complexity
By SLOC
'use strict'; var indexOf = require('./e-index-of'); module.exports = function (value/*, fromIndex*/) { var r = [], i, fromIndex = arguments[1]; while ((i = indexOf.call(this, value, fromIndex)) !== -1) { r.push(i); fromIndex = i + 1; } return r; };