Hacker News new | comments | show | ask | jobs | submit login

Isn't ES6 `.then(()=>{})` ?



Or even without curly braces:

`.then(x => doSomethingWith(x));`




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: