Quiz Question 1 of 7
Given the following code...
const https = require('https');
try {
const request = https.get('myawesomeapi.com/comments.json', (response) => { });
request.on(error => console.error('Asynchronous error') );
} catch(error) {
console.error('URL parse error');
}
Choose the correct answer below: