Write a function to take power? function solve( a, b ){ //write your code here } Login to Submit
Input: 2, 2 Output: 4 Input: 3, 2 Output: 9 Input: 2, 5 Output: 32