This is a guide to Armstrong Number in JavaScript. // Finding the number of digits Top Answer. Armstrong Number in Java. } background-color : aliceblue; Asked by Wiki User. Let's write a java program to check whether the given number is armstrong number or not. So 153 is an Armstrong number; Since 12 is not equal to 1*1*1+2*2*2. document.getElementById("result").innerHTML = "The number: " + Number + " is Armstrong Number"; Write a javascript program which returns true when a given number is Armstrong number and false otherwise. of digits is equal to it (the original number). Cube the remainder.