Relating this thread : JavaScript better way to modify function prototype, I was wondering why mutating instances' __proto__
is a slow manipulation.
I know it is deprecated, I often read it on the web. But I have never found why. Why is it really deprecated, and why is it slow ?
Will setPrototypeOf()
be a better solution, as for performance ?