Make a Copy

One simple way to fix this is to have two separate Fruit values that have the exact same data inside. Let’s see what that might look like:

Get hands-on with 1000+ tech skills courses.

Learn to code, grow your skills, and succeed in your tech interview