Search
The code given below results in a ReferenceError.
ReferenceError
Use try...catch to handle the error in the code given below.
try...catch
In the catch block, use console.log to display the message "Something went wrong".
console.log
"Something went wrong"