DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript nth root
var root = 3; var number = 27; var answer = Math.pow(number, 1 / root); // 3
PREVIOUS
NEXT
Tagged:
#javascript
#nth
#root
ADD COMMENT
Topic
COMMENT
Name
5+1 =
Submit