Join Slack
Powered by
``` var sum = 0 for (item in items) { sum += ite...
# language-proposals
o
orangy
02/07/2017, 9:03 PM
Copy code
var sum = 0 for (item in items) { sum += item.cost }
is imperative, but it’s easy to undersand (let’s ignore we have
sumBy
for a while)
Open in Slack
Previous
Next