title: How to insert value from an array to an array of object
body: <p>I might need some help on JavaScript about array stuff.</p>
  <pre><code>[
  &quot;URL_1&quot;,
  &quot;URL_2&quot;,
  &quot;URL_3&quot;,
  &quot;URL_4&quot;,
  ...,
  &quot;URL_30&quot;
  ]
  </code></pre>
  <p>Let's just say these above are an array of strings which are links and how do I move them to an array object like this below?</p>
  <pre><code>[
    {
      url: &quot;URL_1&quot;
    },
    {
      url: &quot;URL_2&quot;
    },
    {
      url: &quot;URL_3&quot;
    },
  ...,
    {
      url: &quot;URL_30&quot;
    }
  ]
  </code></pre>