Skip to content

Instantly share code, notes, and snippets.

View roblarsen's full-sized avatar
🚢
Shipping code

Rob Larsen roblarsen

🚢
Shipping code
View GitHub Profile
{
"name": "test",
"version": "2.9.0",
"license": "",
"@angular/cli": {},
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
function totals(){
const bids = document.querySelectorAll(".bid-status b");
let total = 0;
for (let bid of bids){
bid = bid.innerText.replace("$","").replace(",","");
total = total + parseInt(bid);
}
return total;