Record Mutation
In this lesson, we'll explore different ways of altering the contents of a record.
We'll cover the following
Mutable Fields
Believe it or not, we can define some record fields as mutable. This means that we can change their values in the future.
To make a field mutable, we must prepend the mutable
keyword to it.
Get hands-on with 1400+ tech skills courses.