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…

HOTSPOT You are creating JavaScript code that manipulates dates. You want to initialize a Date object with the date January 1, 2017 by using the year, month, and date parameters. How should you complete the code? To answer, select the…

HOTSPOT You work as a JavaScript developer for Adventure Works. You are writing a simple script that performs the following actions: Declares and initializes an array • Fills the array with 10 random integers • Adds every other number starting…

HOTSPOT You are writing a JavaScript program for Blue Yonder Airlines. The program stores various information about the airline’s flights. The program has initialized the following variables: You need to determine the data type of the code segment based on…

HOTSPOT You are creating a JavaScript function that returns a date the specified number of months in the future of the current date. The function must meet the following requirements: Accept a number that represents the number of months to…

You are writing an engineering application. You need to create a function that will round numbers to 3 or more decimal places. You need to create a function that receives the following two parameters: • The value parameter is the…

HOTSPOT You analyze the following code fragment. Line numbers are included for reference only. Hot Area:

HOTSPOT You need to evaluate the following code segment. Line numbers are included for reference only. Use the drop-down menus to select the answer choice that answers each question based on the information presented in the code segment. Hot Area:

DRAG DROP You are creating a web page that tests a user’s ability to accurately type text. The validation should be case-insensitive. How should you complete the code? To answer, drag appropriate functions to the correct locations. Each function may…