Answered step by step
Verified Expert Solution
Question
1 Approved Answer
use proper ES6 syntax including using let/const properly. do not use Regular Expressions (Regex) HINT: Refer to Mozilla Developer Docs as needed Problem 7 -
use proper ES6 syntax including using let/const properly.
do not use Regular Expressions (Regex)
HINT: Refer to Mozilla Developer Docs as needed
Problem 7 -
- Write a function called letterMap
- This function takes one argument which is an array
- This function creates and object where the lowercase letter is the key and the uppercase letter is the value
- The function should created the object so that is always in alphabetical order
- This function returns the object
Example:
letterMap(['Z', 'a', 'b', 'y', 'x', 'c'])
output: { a: 'A', b: 'B', c: 'C', x: 'X', y: 'Y', z: 'Z' }
THIS IS IN JAVASCRIPT PLEASE
Step 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