Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David M. Kroenke

1st Edition

0130086509, 978-0130086501

More Books

Students also viewed these Databases questions

Question

8.6 Enumerate how influence tactics should be sequenced.

Answered: 1 week ago