Node.js - Error Handling Patterns
What will be printed when this Node.js code runs?
try {
const data = JSON.parse('{ invalid json }');
console.log('Success');
} catch (e) {
console.log('Parsing failed');
}