The sword refers to offer12 - the integer power of the value
Topic description
Given a float base of type double and an integer exponent of type int. Find the exponent power of base.
const Power = (base, exponent) => Math.pow(base, exponent);
Parse
Do n't worry too much about the type of the question, you can get the answer by directly referring to the exponentiation mentioned in offer9's abnormal jumping steps.