From 1187d557b7fe44c0343d285cf6e464386e3c3a8e Mon Sep 17 00:00:00 2001 From: ginoDev1788 Date: Wed, 17 Feb 2021 20:43:17 -0500 Subject: [PATCH] modified function --- Functions.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Functions.js b/Functions.js index 92dfe35..9e55c3d 100644 --- a/Functions.js +++ b/Functions.js @@ -1,3 +1,7 @@ -function returnStringLength(string1) { +function returnLength(string1) { return string1.length(); +} + +function returnStringName(name) { + return 'Hello friend ' + name; } \ No newline at end of file