TypeScript: 10 pure immutable operations you should know

Johannes Hoppe
Angular.Schule
Published in
1 min readApr 20, 2018

In this article, we will take a look at some common “immutable” operations. You will see how modern JavaScript enables us to easily work with immutable data structures in a super clean way without the need of an additional library — using the spread operator and Object.assign().

image by FreeImages.com/ephe drin

--

--

Johannes Hoppe
Angular.Schule

I’m a freelance web developer, Angular book author & speaker, Telerik Developer Expert, you should visit https://angular.schule