📜  javascript nth root - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:56.303000             🧑  作者: Mango

代码示例1
var root = 3;
var number = 27;
var answer = Math.pow(number, 1 / root); // 3