Update pluck.md

This commit is contained in:
Isabelle Viktoria Maciohsek
2020-10-22 10:02:27 +03:00
committed by GitHub
parent ce48fffb4d
commit cc8f9e7a72

View File

@ -3,7 +3,7 @@ title: pluck
tags: array,object,beginner
---
Converts and array of objects into an array of values corresponding to the specified `key`.
Converts an array of objects into an array of values corresponding to the specified `key`.
- Use `Array.prototype.map()` to map the array of objects to the value of `key` for each one.