title: URLSearchParams not defined error Inside A Function
body: <p>This is very odd, using DW CC 2018 (in case that is where the problem is), when i use <code>URLSearchParams</code> inside a script tag in my HTML page, it does not get flagged as an "error".</p>
  
  <p>I put <code>URLSearchParams</code> in my external JS file, inside a function, it gets flagged as "not defined". DW flags it as an error, but it still works, so must be more of a "warning" than an error. This has me a bit concerned even if it is a warning, that it could break when going live.</p>
  
  <p>Should I worry, or is it just once of those things to just ignore?</p>