Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
monos
· 16y ago · 0 comments
I sometimes find this nicer to read when I just want to collect a property from an array of objects (yes, map would work too):
var ids = [story.id for (story in stories)]
Comments
No comments yet.
Better HN