Welcome to Westonci.ca, the ultimate question and answer platform. Get expert answers to your questions quickly and accurately. Discover precise answers to your questions from a wide range of experts on our user-friendly Q&A platform. Explore comprehensive solutions to your questions from knowledgeable professionals across various fields on our platform.

write a function alternatingwords that accepts an array of words as an argument. the function should mutate the input array such that the words alternate between fully uppercase or lowercase. the first word should be uppercase.