Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- arr = [0.1, 0.2]
- arr.reduce((el,count)=> parseFloat((el + count).toFixed(10)));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement