From 0084b54241e588f5f5859be356e3cc2156fed780 Mon Sep 17 00:00:00 2001 From: Adekunle Oduye Date: Thu, 26 Aug 2021 19:16:16 -0400 Subject: [PATCH] doc: updated jsdoc --- squareRoot.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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