source: trip-planner-front/node_modules/indexes-of/index.js@ b738035

Last change on this file since b738035 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 153 bytes
Line 
1module.exports = function (ary, item) {
2 var i = -1, indexes = []
3 while((i = ary.indexOf(item, i + 1)) !== -1)
4 indexes.push(i)
5 return indexes
6}
Note: See TracBrowser for help on using the repository browser.