I have this array
{product.images.map((img, index) => (
<img key={index} src={img.url}
/>
))}
as I only wanna render first 5 photos.. How to get the first 5 photos from an array ??