I only want to show unique variables. Is there an easier or cleaner way to compare three js variables?
if (a==b) {
if (a==c) {
//show only a
} else {
//show a and c
}
} else {
if (a==c) {
//show a and b
} else {
//show a and b and c
}
}