Surround the call to processNumbers with a try-catch statement. The catch block should display the thrown message
var toProcess = [ 1, 2, 5, 7 ]; // Code will be tested with
different arrays.
var processedValue = 0;
processedValue = processNumbers(toProcess);

var toProcess = [1, 2, 5, 7];
var processedValue = 0;
try {
processedValue = processNumbers(toProcess);
} catch (e) {
console.log(e);
}
Surround the call to processNumbers with a try-catch statement. The catch block should display the thrown...