How to format and display JSON data using .map in javascript?

How to format and display JSON data using .map in javascript?

Below is api call to get user details

const config = {
  'url': 'https://api.randomuser.me',
  'numberCards': 24
};


// Call API to get cards
fetch(`${config.url}?results=${config.numberCards}`).then(function(response) {
  return response.json();
}).then(function(apiResponse) {
  // Output API response to console to view.
  console.log(apiResponse.results);
});

But i want to display the user details using .map.

How to format and display JSON data using .map in javascript?