Skip to content

Instantly share code, notes, and snippets.

@Roger-Melo
Created May 3, 2020 20:58
Show Gist options
  • Save Roger-Melo/98a62cbf85448298608f4b92bca2d8c0 to your computer and use it in GitHub Desktop.
Save Roger-Melo/98a62cbf85448298608f4b92bca2d8c0 to your computer and use it in GitHub Desktop.
Boilerplate para um caso de uso do map()
const products = [
{ name: 'Mouse Sem Fio', price: 30 },
{ name: 'Pen Drive', price: 25 },
{ name: 'Cartucho de Tinta', price: 50 },
{ name: 'Suporte Ergonômico para Notebook', price: 23 },
{ name: 'Repetidor de Sinal Wi-Fi', price: 44 }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment