Top "Ecmascript-2017" questions

Use this tag for questions about features finalized in ECMAScript 2017.

JavaScript async/await not awaiting properly?

I'm having an issue with JavaScript's async/await functions. This is happening on an internal application that I can't share …

javascript asynchronous async-await ecmascript-2017
Babel ESLint: TypeError: Cannot read property 'range' of null

I use babel-eslint to lint/fix my code. Worked great until I wanted to adopt some ES2017 async await found …

async-await eslint babeljs ecmascript-2017
Is there a way to wrap an await/async try/catch block to every function?

So i'm using express.js and looking into using async/await with node 7. Is there a way that I can …

javascript express async-await ecmascript-2017
ES2017 - Async vs. Yield

I am confused about the current discussion of adding async functions and the keyword await to the next EcmaScript. I …

javascript ecmascript-6 async-await ecmascript-2017
Async/Await not working as expected with Promise.all and a .map function

I have a slew of async functions I'm using and I'm having a weird issue. My code, working, looks like: …

javascript promise async-await ecmascript-2017
Does awaiting a non-Promise have any detectable effect?

One can await a non-Promise and that's good so. All these expressions are valid and cause no error: await 5 await …

javascript ecmascript-2017
Difference in the 'lib' property in tsconfig.json between es6 and es2017?

I've been researching what the possible values of the lib property mean in the compilerOptions found within the tsconfig.json …

typescript ecmascript-6 typescript-typings typescript2.0 ecmascript-2017
Waiting for more than one concurrent await operation

How can I change the following code so that both async operations are triggered and given an opportunity to run …

javascript promise async-await ecmascript-2017