mirror of
https://github.com/EveryInc/compound-engineering-plugin.git
synced 2026-10-31 21:15:11 +01:00
4 lines
81 B
JavaScript
4 lines
81 B
JavaScript
export function total(items) {
|
|
return items.reduce((a, b) => a + b.price, 0)
|
|
}
|