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

Make Sure That Using This Pseudorandom Number Generator Is Safe Here

When I declared a variable like: const FileId = Math.random().toString(36).substr(2, 9); I am gett… Read more Make Sure That Using This Pseudorandom Number Generator Is Safe Here

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 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?