Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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 charactersStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started