Question: CHALLENGE ACTIVITY 6.11.1: Throwing and catching exceptions. Jump to level 1 Add a finally statement that displays Data is saved.. 1 var numList - [1,
CHALLENGE ACTIVITY 6.11.1: Throwing and catching exceptions. Jump to level 1 Add a finally statement that displays "Data is saved.". 1 var numList - [1, 2, 5, 7); // Code will be tested with different arrays. 2 var processedValue = 0; 4 try { 5 processedValue - process Numbers (numlist); 6 } 7 catch (exception) { 8 processedValue = -1; 9 } 11 console.log("Has finally statement"); Check Try again Solution has finally statement Yours Has finally statement
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
