source:
trip-planner-front/node_modules/uniqs/index.js@
fa375fe
Last change on this file since fa375fe was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 180 bytes |
Rev | Line | |
---|---|---|
[6a3a178] | 1 | module.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.