Write a function that calculates a user BMI. BMI = weight/height^2 Your code should request for the user^2.
P.S: To simplify, use prompt and alert (depending on how your language calls it) when necessary and make sure your code is testable on the Google Chrome console (developer tool)