Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- records.reduce((acc, record) => (
- record.lengthSec > (60 * 60) ?
- acc :
- [...acc, {
- ...record,
- ['display']: `${record.artist} - ${record.title} (${record.released})`
- }]
- ), []);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement