diff --git a/squareRoot.js b/squareRoot.js index 6189ae2..2a01707 100644 --- a/squareRoot.js +++ b/squareRoot.js @@ -1,10 +1,11 @@ /** - * Outputs square value + * Outputs square of num + * * i.e. squareRoot(3) => 9 * - * @param {int} num - Input number - * @returns + * @param {number} num - Input number + * @returns {number} Square root of num */ export default function squareRoot(num) { return num ** 2