Created
May 3, 2022 21:31
-
-
Save JimOfLeisure/14ffc9d51a50f503bdeddc322b0b3de3 to your computer and use it in GitHub Desktop.
CodeWars lies, this is my solution (https://www.codewars.com/kata/reviews/59ada91bc2479b5c6a001f4b/groups/59b048e65c22a5c266001454)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function sentencify(words) { | |
const str = words.join(' '); | |
return str[0].toUpperCase() + str.slice(1) + '.'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment