Question: Read the following code carefully. What would the printed output be? const myList: number [] [12, 15, -7, 2, 0 -4]; const min: number
Read the following code carefully. What would the printed output be? const myList: number [] [12, 15, -7, 2, 0 -4]; const min: number = Math.min(...myList); console.log(myList[min]); =
Step by Step Solution
There are 3 Steps involved in it
Answer Theres a small issue in the code related to the array declara... View full answer
Get step-by-step solutions from verified subject matter experts
