Hi I’ve been having issue with this question, wondering how to fix it.
for example I type in 456 and it displays 6 5 4 and I need it to display 4 5 6 instead, does anyone knows how to fix this issue 🙂
var remainder;
while (a!=0) {
remainder = a % 10;
a = parseInt(a/10);
outputObj.innerHTML= outputObj.innerHTML+remainder+" ";
}