I have an object, and I want to change some of its fields by changing another variable. How can this be done? My example code:
In no way, assigning something to b, he forgets about the reference to the previous valueAnonymous
To place the code, please use CodePen or similar tool. Thanks you!