Check out a free preview of the full Reactive Angular 2 with ngrx course:
The "Immutable Demonstration" Lesson is part of the full, Reactive Angular 2 with ngrx course featured in this preview video. Here's what you'd learn in this lesson:

Scott demonstrates how to write immutable code using various Array methods. He first creates CRUD operations for an Array and then compares them to similar operations applied to an Object. Scott uses babeljs.io for this demonstration to showcase how some ES6 features look when compiled into ES5 code.

Get Unlimited Access Now