Help to create a function | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Help to create a function

Need help with an exercise, need to create a function called "lengthFullName" that receive a name and a surname as a parameter and gives the total length counting an extra space to separate each names. How can I create this function?

30th Apr 2020, 8:30 PM
adrian coceres
adrian coceres - avatar
4 Answers
+ 7
Alright so, there is a problem with the definition of your function (kindly refer to this course for more information): https://www.sololearn.com/learn/JavaScript/1146/
30th Apr 2020, 11:29 PM
Uni
Uni - avatar
+ 6
Have you tried it yourself ? Could you post your attempt here ?
30th Apr 2020, 9:06 PM
Uni
Uni - avatar
30th Apr 2020, 11:23 PM
adrian coceres
adrian coceres - avatar
0
Hice esto pero no se que probar ya para q funcione
30th Apr 2020, 11:23 PM
adrian coceres
adrian coceres - avatar