title: What is difference between 'url.searchParams' and 'URLSearchParams' in Node.js?
body: <p>What is the main difference between <code>URLSearchParams()</code> and <code>url.searchParams</code>? </p>
  
  <p>How are these different?</p>
  
  <pre><code>var searchParams = new URLSearchParams("q=URLUtils.searchParams&amp;topic=api");
  
  url = new URL(document.URL);
  
  urlsrchprm = url.searchParams;
  </code></pre>