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

Simple Es7 Decorator With Babel

I can not run this code: https://www.npmjs.com/package/core-decorators#readonly I use gulp and babe… Read more Simple Es7 Decorator With Babel

How To Make Vs Code Recognize The Es7 Bind Operator

VS Code does not recognize the ES7 bind syntax out of the box. Instead, it shows up as a syntax err… Read more How To Make Vs Code Recognize The Es7 Bind Operator

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?

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?