How should you complete the code?
HOTSPOT The ABC company offers a mid-week discount of 10% on Wednesdays. You need to write a JavaScript function that meets the following requirements: • Accepts the day of the week as a string • Returns the appropriate discount You…