Javascript Number sqrt()

Description

Javascript Number sqrt()



Number.prototype.sqrt = function() {
  return Math.sqrt(this);
}

console.log(new Number(144.0).sqrt());



PreviousNext

Related