There are 10 pictures and 10 descriptions to them. I need to randomly select a picture and description for it and render it. So, I compiled an array of objects :
 const randomPictures = [
   { 
    image: 'url1',
    description: 'description1'
   },
   {
    image: 'url2',
    description: 'description2'
   }, 
   {
    image: 'url3',
    description: 'description3'
   }
 ];
How to randomly select an object from this array and render it? Or maybe another way to get randomly picture and its description ?
 
     
    