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

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?

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

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

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