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

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?

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?

Object Destructuring ({ X, Y, ...rest }) For Whitelisting Properties Of An Object

Using Object rest destructuring is straightforward to blacklist properties of an object, like in th… Read more Object Destructuring ({ X, Y, ...rest }) For Whitelisting Properties Of An Object

Will Json Evolve To Have Native Support For Ecmascript Map Objects?

Are there any formal proposals, in progress, that address a backwards-compatible evolution to JSON&… Read more Will Json Evolve To Have Native Support For Ecmascript Map Objects?

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

How To Filter Object Using Array.prototype.filter?

Given var arr = [1,2,true,4,{'abc':123},6,7,{'def':456},9,[10]] we can filter num… Read more How To Filter Object Using Array.prototype.filter?