Open bodyazinchenko opened 7 months ago
https://www.greatfrontend.com/questions/quiz/explain-how-prototypal-inheritance-works
In this chapter, it is described that:
Using Object.create to build the inheritance chain is no longer recommended. Use Object.setPrototypeOf instead.
But the mdn documentation says the opposite, that the preferred method for setting prototypes is Object.create() - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/setPrototypeOf
I suggest to change this sentence
Same finding there. Hope to see this change soon
https://www.greatfrontend.com/questions/quiz/explain-how-prototypal-inheritance-works
In this chapter, it is described that:
But the mdn documentation says the opposite, that the preferred method for setting prototypes is Object.create() - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/setPrototypeOf
I suggest to change this sentence