title: Convert Object to Url string parameter with checks of array
body: <p>I have an object with some values as arrays.</p>
  <pre><code>let paramObj = {
      name: 'title',
      properties: [01, 02, 03],
      rooms: [01],
      city: 'cityname'
  }
  </code></pre>
  <p>I want to convert it to url parameters like this</p>
  <pre><code>http://localhost:8080/endpoint?name=title&amp;properties=01&amp;properties=02&amp;properties=03&amp;rooms=01&amp;city=cityName
  </code></pre>
  <p>I have some thing which is working fine for normal strings but I want to check if the object key has array than convert it to multiple parameters. here is my code</p>
  <pre><code> const qs = Object.keys(paramObj)
  .map(key =&gt; `${key}=${paramObj[key]}`)
  .join('&amp;');
  </code></pre>