I am trying to decrement a for/in loop in js.
I have found lots of instruction on decrementing a for-loop, but had no luck finding a statement that decrements a for/in loop.
var classRegister = ["Lawrence", "John", "Jeff", "Bobbi"];
for( var index in classRegister ) {
console.log(classRegister[index]);
}
This is my incrementing for/in loop statement that I want to modify to decrement.