Skip to content Skip to sidebar Skip to footer
Showing posts with the label Ecmascript Next

Succinct/concise Syntax For 'optional' Object Keys In Es6/es7?

There are already a lot of cool features in ES6/ES7 for defining Javascript objects. However, the f… Read more Succinct/concise Syntax For 'optional' Object Keys In Es6/es7?

Abort Ecmascript7 Async Function

Is there a way to cancel a ES7 async function? In this example, on click, I want to abort async fun… Read more Abort Ecmascript7 Async Function

Why Does Assignment Using Await Within While Expression Not Retain Assigned Value?

Given the JavaScript code the expected result of done returned from fn() is true when done is assi… Read more Why Does Assignment Using Await Within While Expression Not Retain Assigned Value?

Why Do Javascript Functions Need To Have The Keyword "async"? Isn't The "await" Keyword Enough?

For instance, why does the function below need to have 'async'? Isn't using await speci… Read more Why Do Javascript Functions Need To Have The Keyword "async"? Isn't The "await" Keyword Enough?

How To Use The Proposed ECMAscript Class Syntax With React And Webpack?

I am trying to learn the proposed class syntax for ecmascript and using it with React, i have succe… Read more How To Use The Proposed ECMAscript Class Syntax With React And Webpack?