import React from 'react'; export function App(props) { let products = [ { id: '194246', last_name: 'Name1' }, { id: '194246', last_name: 'Name2' }, { id: '194246', last_name: 'Name3' }, { id: '194244', last_name: 'Name4' }, ]; const arrayChunk = (arr, n) => { const array = arr.slice(); const chunks = []; while (array.length) chunks.push(array.splice(0, n)); return chunks; }; return ({arrayChunk(product, 3).map((row, i) => (); } // Log to console console.log('Hello console');{row.map((col, i) => ( [{col.id}] ))}))}