How to do it?
You should print to the console the biggest word and the number of letters in it.
I think I did not get to do it, because I'm still not quite clear on return.
Tweak what you can)
March 23rd 20 at 19:44
1 answer
March 23rd 20 at 19:46

1) Use let instead of var. This does not affect functionality. It is a standard.
2) Why are you in a function pass a string argument? I removed in my example
3) you are all right, but you do not return anything from a function and don't piss inside her result. return - displays the output of the function returns values that can already be displayed in the console.
Thank you) - leo56 commented on March 23rd 20 at 19:49

Find more questions by tags JavaScript