Download the script

Download As from the toolbar.

Use Download As on the toolbar. Logging here proves the script is complete.

Goal

Log a one-file kiosk summary.

const rows = [
  { city: "Nairobi", units: 12 },
  { city: "Kisumu", units: 5 },
];
const total = rows.reduce((acc, r) => acc + r.units, 0);
console.log("cities", rows.length);
console.log("units", total);
console.log("Download As → .js from the toolbar");