Question: Javascript ES6 syntax titleCase 15pts This function takes two arguments: a single string (str) and an array of strings (lowercaseWords[]). It returns a copy of

Javascript ES6 syntax

Javascript ES6 syntax titleCase 15pts This function takes two arguments: a single

titleCase 15pts This function takes two arguments: a single string (str) and an array of strings (lowercaseWords[]). It returns a copy of str with the initial letter of each word capitalized. After the first word in the string, however, articles, conjunctions, and prepositions not more than five letters long should all be lower case. The lowercasewords array contains all words that should be lowercased. inverseCase 10pts This function takes a single string and returns a copy of the string with the first letter of each word lowercased, and all other letters in the word uppercased NOTE: For these funetions, consider each word to be separated by one or more white-space characters

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!