Seems quite similar to https://sizzy.co/
var currentUrl = function(_) {
return window.location.href;
}
the underscore is used so they don't have to type `() =>` instead children(el => [
el.email = input(props({ type: 'email' })),
el.pass = input(props({ type: 'pass' })),
el.submit = button(text('Sign in'))
])
Can someone explains what this does and why it is used here?
As i understand it this function both modifies the `el` object (whatever that is) and returns an array containing the input elements, but why would you want to do both those things at the same time?