src/class-name-builder.js
function unique(value) {
    return value.reduce((memo, current) => {
        return memo.indexOf(current) !== -1 ? memo : memo.concat(current);
    }, []);
}
function unique(value) {
    return value.reduce((memo, current) => {
        return memo.indexOf(current) !== -1 ? memo : memo.concat(current);
    }, []);
}
function unique ( value ) { return value . reduce ( ( memo , current ) => { return memo . indexOf ( current ) !== - 1 ? memo : memo . concat ( current ) ; } , [ ] ) ; }
Performaces a uniqueness reduction on an array
@param {Array} value - the array to reduce
@returns {Array} an array with unique values
Performaces a uniqueness reduction on an array