loading...

re: 🔥 Quick Tip: Update an array and avoid mutation VIEW POST

FULL DISCUSSION
 

so this doesn't mutate the people array but creates a new one, slicedpeople, with elements from people right?

 

Yep! Avoiding the mutation in the "people" array :)

code of conduct - report abuse