diff --git a/JS/reto1.js b/JS/reto1.js new file mode 100644 index 0000000..7b2fccd --- /dev/null +++ b/JS/reto1.js @@ -0,0 +1,3 @@ +let arr = ['julio', 'pedro', 'vero', 'juan']; +const lengthArr = arr.map(((item,index)=>item.length)); +console.log(lengthArr); \ No newline at end of file