Knowledge check: Error handling in Javascript
What will be printed when the following code runs?
var result = null;
console.log(result);
undefined
null
0
When the following code runs, what will print out?
try {
console.log('Hello');
} catch(err) {
console.log('Goodbye');
}
He...
eplus.dev1 min read