Why was JavaScript implemented using prototypal inheritance?

前端 未结 6 741
青春惊慌失措
青春惊慌失措 2021-02-05 15:44

There are lots of articles and posts explaining how JavaScript inheritance works, but why was JavaScript implemented using prototypal inheritance instead of classical inheritanc

6条回答
提交回复
热议问题