let addItem = handler() {
	Local.items.push('new item')
}

<button onClick=addItem>"Add item"</button>

<br /> "Items:"
<li>
for (item in Local.items) {
	<ol> "item: " item </ol>
}
</li>

let addItem = handler() { Global.items.push(Local.text) }
let containerStyle = { padding: 5, margin: 5, border: '1px solid' }

<div style=containerStyle>
	<input data=Global.foo />
	<br /> "Global.foo: " Global.foo
</div>

<div style=containerStyle>
	"Add item with text: " <input data=Local.text />
	<br /> <button onClick=addItem>"Add item: " Local.text</button>
</div>

<div style=containerStyle>
	"Global.items:"
	<ol>
		for (item in Global.items) {
			<li> "item: " item </li>
		}
	</ol>
</div>

Change the for loop example to be a bit more relevant
Change the for loop example to be a bit more relevant
