From f7e7a80540dc4584d484ea312a2c40baebf14d2b Mon Sep 17 00:00:00 2001 From: Shyam Krishnamurthy Date: Fri, 21 Aug 2020 17:24:17 +0530 Subject: [PATCH] add a new function --- JavaScript/Functions.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/JavaScript/Functions.js b/JavaScript/Functions.js index d6d831b..cc94cf5 100644 --- a/JavaScript/Functions.js +++ b/JavaScript/Functions.js @@ -7,4 +7,7 @@ function returnSmallest(a, b) { } } +function returnStringLength(string1){ + return string1.length(); +} // Add your functions below this line :) ------------------------------------ \ No newline at end of file