'each' iterations close over vars
This was unspecified behavior changed in v0.6.0, now restored. Permits code such as the following to work "as expected" (i.e. clicking on the third item in items
will call the handler with the third item as its argument):
each item in items
button(onclick=() => clickedItem(item))= item