mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-22 16:35:14 +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);
|
|
});
|
|
};
|