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

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

Typescript Type-safe Omit Function

I want to replicate lodash's _.omit function in plain typescript. omit should return an object … Read more Typescript Type-safe Omit Function

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

Is There A Shorthand For This In Es6/es7?

I'm having a bit of a brainfart. Is there a shorthand for this in ES6/ES7? res.locals.hello = h… Read more Is There A Shorthand For This In Es6/es7?

Javascript : Async/await In .replace

I am using the async/await function the following way async function(){ let output = await string… Read more Javascript : Async/await In .replace

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

TypeScript Type-safe Omit Function

I want to replicate lodash's _.omit function in plain typescript. omit should return an object … Read more TypeScript Type-safe Omit Function