mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-28 19:35:15 +00:00
7 lines
180 B
JavaScript
7 lines
180 B
JavaScript
|
module.exports = function uniqs() {
|
||
|
var list = Array.prototype.concat.apply([], arguments);
|
||
|
return list.filter(function(item, i) {
|
||
|
return i == list.indexOf(item);
|
||
|
});
|
||
|
};
|