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:
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 number to be formatted✑ The digits parameter is the number of digits to displayThe function must return the value with the number of digits specified.Which function should you use?A.B.C.D.
HOTSPOT -You analyze the following code fragment. Line numbers are included for reference only.Hot Area:
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 add or subtract from the current date.Return the current data adjusted by the number of months passed into the function.How should you complete the code? To answer, select the appropriate code segments in the answer area.NOTE: Each correct selection is worth one point.Hot Area:
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 with the first elementHow should you complete the code? To answer, select the appropriate code segments in the answer area.NOTE: Each correct selection is worth one point.Hot Area:
HOTSPOT -You are designing a web page that contains a blue button. When the button is pressed, it should call a function that displays the message "˜Welcome!'. When the cursor hovers over the button, the button should turn red. When the cursor leaves the button, the button should revert back to its original color of blue.You want to complete the markup using the appropriate HTML events.How should you complete the markup? To answer, select the appropriate event in the answer area.NOTE: Each correct selection is worth one point.Hot Area: