Created
April 7, 2020 05:15
-
-
Save sharkyak/c9fa0c39dbbc4428f01d97596c0c2216 to your computer and use it in GitHub Desktop.
polar express polexp parcel summary price
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[...$$('.pricepop')].reduce((prev, curr) => prev + parseFloat(curr.innerText.slice(0, -2)), 0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[...$$('.pricepop')].reduce((prev, curr) => prev + +curr.innerText.slice(0, -2), 0)