From 4c41d45ab31b91f4870c739b91e35a70b4b867f8 Mon Sep 17 00:00:00 2001 From: Ioannis Tsimpidis <6756053+joomlabeat@users.noreply.github.com> Date: Tue, 4 Sep 2018 21:30:50 +0300 Subject: [PATCH 1/2] Function renamed --- Functions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Functions.js b/Functions.js index 92dfe35..6a280e8 100644 --- a/Functions.js +++ b/Functions.js @@ -1,3 +1,3 @@ -function returnStringLength(string1) { - return string1.length(); +function getStringLength(string) { + return string.length(); } \ No newline at end of file From 7f8defca1d8c2c751733e02bf537644545a65192 Mon Sep 17 00:00:00 2001 From: Ioannis Tsimpidis <6756053+joomlabeat@users.noreply.github.com> Date: Tue, 4 Sep 2018 21:34:10 +0300 Subject: [PATCH 2/2] change function param name --- Functions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Functions.js b/Functions.js index 6a280e8..d134c6d 100644 --- a/Functions.js +++ b/Functions.js @@ -1,3 +1,3 @@ -function getStringLength(string) { - return string.length(); +function getStringLength(str) { + return str.length(); } \ No newline at end of file