Node.js - URL and Query String Handling
Identify the error in this Node.js code snippet that tries to parse a URL:
const url = new URL('htp://example.com');
console.log(url.hostname);