Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

2--Calculate power function: Given two integers k and n, write a function to compute k^n..

let num1 = Math.pow(4, 3);

console.log(num1);
 
PREVIOUS NEXT
Tagged: #power #Given #integers #write #function #compute
ADD COMMENT
Topic
Name
3+8 =