Transcript from the "Avoiding Mutation Exercise" Lesson
[00:01:23] So we're going to go through those. And again, you look for those little tadas to pass. And we're going to check that again that those arrays haven't been changed after you've done things to them. We're going to define a push function to replace array.push, we're gonna define an update function to replace that index assignment.
[00:01:42] And then we're going to replace a pop method with the pop function. So we're going to go through and fill those out. And then as a challenge you can also think about other array operations that you use a lot, other array methods that you use a lot that are actually mutating the change data in place.
[00:03:13] There are links to the documentation for these libraries. So we're not going to be necessarily implementing any code here but just understanding what it feels like to work with a couple of these immutable data structure libraries. And some reflection questions for which ones you find most easy and friendly and fun perhaps to work with.
[00:03:33] Because they have different APIs, different kinds of ways that you'll work with data in them. So just a little bit of exploratory time to check out two of those libraries. And also to think about how we can replace some of those mutating array methods with non mutating ones.