since I need reputation and can't actually comment on this thread: Object.assign methods not binding 'this' Im opening my own question:
Can this be somehow solved or workarounded? I have a "master" object containing
function init(){ console.log(this) }.bind(this)
I am cloning this master object into other object and i want the init function run with the scope of the slave object, not the master. Is there any option?