title: TypeError: Failed to construct 'URL': Please use the 'new' operator, this DOM object constructor cannot be called as a function
body: <p>I have a data.js file where I have this:</p>
  <pre><code>export default [
  {
      id: 1,
      title: &quot;Black shirt Friday outfit&quot;,
      price: 30.99,
      image:URL(&quot;../images/black-shirt.jpg&quot;)
  },
  {
      id:2,
      title:&quot;Look at me in brown boots&quot;,
      price:25.30,
      // image: (url(&quot;../images/brown-outfit.jpg&quot;))
  },
  {
      id:3,
      title:&quot;Cute winter&quot;,
      price: 21.90,
      // image: url(&quot;../images/cozy-outfit.jpg&quot;),
  },
  </code></pre>
  <p>My question is: What syntax can I use to render those images in my react-app?</p>