Opal-Estate-Pro/node_modules/uniqs/index.js
2019-09-13 11:27:52 +07:00

7 lines
180 B
JavaScript
Executable File

module.exports = function uniqs() {
var list = Array.prototype.concat.apply([], arguments);
return list.filter(function(item, i) {
return i == list.indexOf(item);
});
};