Guest User

Untitled

a guest
Jan 20th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. let carlos=[2,3,4,5,6]
  2. let nuevo=carlos.filter(num=>num%2===0)
  3. console.log(nuevo)
  4.  
  5.  
  6. //si solo quiero multiplicar por dos los pares
Add Comment
Please, Sign In to add comment