Copy Values

OK, I get it. A value has an owner, and you can’t use a value after it’s been moved to a new owner. Awesome. Then why does this code work?

Get hands-on with 1000+ tech skills courses.

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