DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
9+7 =
Submit