source: trip-planner-front/node_modules/uniqs/index.js@ fa375fe

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

initial commit

  • Property mode set to 100644
File size: 180 bytes
Line 
1module.exports = function uniqs() {
2 var list = Array.prototype.concat.apply([], arguments);
3 return list.filter(function(item, i) {
4 return i == list.indexOf(item);
5 });
6};
Note: See TracBrowser for help on using the repository browser.