Node.js - URL and Query String Handling
What is wrong with this code?
const { URL } = require('url');
const myURL = URL('https://example.com');
console.log(myURL.pathname);
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions