Y
Hacker News
new
|
ask
|
show
|
jobs
by
klokoman
3064 days ago
In some cases you can assign the object you want to copy as the [[prototype]] of another object, this way you delegate what you don't want to change and change what you want in the "copy" via assignments