Java Exponentiation Operator Javascript Interview Preparation