forked from root/public
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
…
|
||
---|---|---|
.. | ||
README.md |
README.md
Jaden Case
Instructions
Declare a toJadenCase
function that takes a string sentence
argument and
does:
.split
thesentence
argument into words- then
.map
over it to capitalize each words - finally
.join
the capitalized words back into a sentence
Example:
let result = toJadenCase('there is no dress')
console.log(result) // > 'There Is No Dress'