Tcsm
2023-10-22 251cc3290959d2085aa3359d6f74d97db914d182
1
2
3
4
5
6
module.exports = function (ary, item) {
  var i = -1, indexes = []
  while((i = ary.indexOf(item, i + 1)) !== -1)
    indexes.push(i)
  return indexes
}