JavaScript - Check if a given number is a power of 10

JavaScript - Check if a given number is a power of 10

More to explore

Based on this image's title: “JavaScript - Check if a given number is a power of 10