Question: Read the following code carefully. What would the printed output be? const myList: number =[12,15,7,2,04]; const min: number = Math.min (...myList); console. log(myList[min]); 7 4

Read the following code carefully. What would the printed output be? const myList: number =[12,15,7,2,04]; const min: number = Math.min (...myList); console. log(myList[min]); 7 4 undefined Nothing, this code would not compile
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
