```jsx let text = '' let sources = [ { name: 'Источник 1', value: '1' }, { name: 'Другой чат', value: '2' }, ] let source = '1'; let comments = [ { content: 'Статус (recruiting): Присвоено', date: '2018-10-19 20:30', user: { name: 'Имя пользователя', avatar: 'https://lorempixel.com/640/480/?64646' }, by_user: { name: 'Имя изменившего пользователя' }, }, { content: 'Статус (recruiting): Отмена', date: '2014-12-19 10:22', user: { name: 'пользователя Имя' }, color: 'red' }, ] let input = value => { text = value } let sourceInput = value => { source = value } let submit = () => { comments.push({ content: text, date: new Date().toString(), user: { name: 'Тест' }, color: 'blue',}) text = '' }
```