Q:

How can we compare three integers to find which one is bigger/smaller?

For example; we have three variables:
var a = 11;
var b = 23;
var c = 8;

Can we return the variable name of the biggest/smallest value?

A:

you probably need to use an object or an array to know the variable's name :
var obj = {
    'a':11,
    'b':23,
    'c':8
};

var biggest = '';
for (var name in obj) {
    if(biggest !== '' && obj[name] > obj[biggest]) {
        biggest = name;
    } else if (biggest === '') {
        biggest = name;
    }
}
return biggest;

