const todoItems = [] addTodoItem.addEventListener(event => { todoItems.push(event.target.value) renderTodoItems() })
Reply on news.ycombinator.com