You meant ES2017.
HTH
`.then(x => doSomethingWith(x));`
There are still some other cases where the mess of brackets is overkill, other than callback hell.
Promisify, or (as I prefer to) just "return new Promise((resolve, reject) => { nonPromisedStuff(...) })"?
> There are still some other cases where the mess of brackets is overkill, other than callback hell.
Like bad coding style?