How to find root of positive number in JavaScript

Numbers
By Jad Joubran · 
Last updated Dec 26, 2017
const number = 16;

const result = Math.pow(number, 1 / 2);
4
Math.pow on MDN