Awesome
Great solution!
Well in that case I wouldn't name the variable as "n". It doesn't mean anything and decreases the readability.
"f" would be cool, or better: "friend".
"Input strings will only contain letters."
How about the name with number ?
Great solution, thank you. I overcomplicated myself using .split("") and a condition but this is smart. Gotta remember about filter.
Names with numbers will be a trend .. apparently
Description says "a name has exactly 4 letters in it". Not numbers.
This comment is hidden because it contains spoiler information about the solution
I've been reading a bit of prototypes but I still don't understand, let me explain
Seeing this solution I understand a bit, but when I want to use this method outside the codewars editor, then I don't know how it works
I only dislike "n" as a name. "N" doesn't say anything about what we are dealing with. It should be friendName or friend imo.
Nice one!
This soulution passed only basic test? bcs string from 4 numbers like '3333' is not a name)
Because the author doesn't mention it and everyone is lazy pretty much
Oh interesting! I like your solution.
Loading collection data...
Awesome
Great solution!
Well in that case I wouldn't name the variable as "n". It doesn't mean anything and decreases the readability.
"f" would be cool, or better: "friend".
"Input strings will only contain letters."
How about the name with number ?
Great solution, thank you. I overcomplicated myself using .split("") and a condition but this is smart. Gotta remember about filter.
Names with numbers will be a trend .. apparently
Description says "a name has exactly 4 letters in it". Not numbers.
This comment is hidden because it contains spoiler information about the solution
I've been reading a bit of prototypes but I still don't understand, let me explain
Seeing this solution I understand a bit, but when I want to use this method outside the codewars editor, then I don't know how it works
I only dislike "n" as a name. "N" doesn't say anything about what we are dealing with. It should be friendName or friend imo.
Nice one!
This soulution passed only basic test? bcs string from 4 numbers like '3333' is not a name)
Because the author doesn't mention it and everyone is lazy pretty much
Oh interesting! I like your solution.
Loading more items...