Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export const addSingle = (items, noItems) => {
- return new Promise((resolve) => {
- const sumData = _.sumBy(items, el => {return el.data1})
- resolve(sumData)
- })
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement