From dd893b012d93b0e50a2533baccd178ce8cdbcb9c Mon Sep 17 00:00:00 2001 From: Hristozova Date: Wed, 8 May 2019 19:30:01 +0300 Subject: [PATCH] added function --- JavaScript/Functions.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/JavaScript/Functions.js b/JavaScript/Functions.js index d6d831b..d1d7106 100644 --- a/JavaScript/Functions.js +++ b/JavaScript/Functions.js @@ -7,4 +7,9 @@ function returnSmallest(a, b) { } } -// Add your functions below this line :) ------------------------------------ \ No newline at end of file +// Add your functions below this line :) ------------------------------------ + +function returnLenght(string1) +{ + return string1.lenght(); +} \ No newline at end of file