https://tutorial.eyehunts.com/js/javascript-code-to-find-a-power-of-a-number-example-code/
JavaScript code to find a power of a number | Example code