Skip to content

Instantly share code, notes, and snippets.

@jarbaspsf
Created February 3, 2018 00:23
Show Gist options
  • Save jarbaspsf/72cbbbfa23bbc35e8441a0ffb577fb14 to your computer and use it in GitHub Desktop.
Save jarbaspsf/72cbbbfa23bbc35e8441a0ffb577fb14 to your computer and use it in GitHub Desktop.
exemplo map ES6
let numeros = [9,16,25,36,49];
let numerosRaiz = numeros.map(n => Math.sqrt(n))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment