Code coverage report for
src/pluck.js
Statements:
100%
(38 / 38)
Branches:
100%
(19 / 19)
Functions:
100%
(2 / 2)
Lines:
100%
(2 / 2)
Ignored:
6 statements, 4 branches
All files
»
src/
» pluck.js
1 2 3 4 5 6 7 8
10
function *pluck(xs, prop) { for (let x of xs) { yield x[prop]; } } export default pluck;