這一段話的意思譯反了,請參考新譯
原文 While this is often considered to be one of JavaScript's weaknesses, the prototypal inheritance model is in fact more powerful than the classic model. It is, for example, fairly trivial to build a classic model on top of a prototypal model, while the other way around is a far more difficult task.
舊譯 儘管常常有人提及 JavaScript 的缺點,但基於原型的繼承模型比傳統繼承更強大。 實現傳統的類繼承模型是很簡單。但是在 JavaScript 中實現原型的繼承模型則要困難很多。(最後一句話意思反了,而且 javascript 本來就已經實現原型繼承了)
新譯 儘管這常被認為是 JavaScript 的缺點,但「原型繼承模型」其實比「類繼承模型」更強大。在「原型繼承模型」上實現傳統的「類繼承模型」是小事一件,但反過來要在只有「類繼承模型」的地方弄出「原型繼承模型」則要困難很多。
A correction to the zhtw translation.
You need to run "npm install" to install dependencies in order to build Javascript Garden. You may need to install npm too.