Posts by user214624 • 51 points
1 post
-
5
votes1
answer63
viewsA: Return only an attribute of an object?
As well as the method filter there is also a method called map that you can invoke in an array to generate a new array. In this case, the map produces an array with the value returned from your…