[JavaScript Weird 支線]Day 71 — 物件導向的繼承:Inheritance

了解原型與原型鏈的關係之後,可以發現 JavaScript 就是利用這樣子的關係來產生繼承概念的,而在 ES6 之後也有更方便的做法。Continue reading on pvt5r486 »

Link: https://medium.com/pvt5r486/javascript-weird-%E6%94%AF%E7%B7%9A-day-71-%E7%89%A9%E4%BB%B6%E5%B0%8E%E5%90%91%E7%9A%84%E7%B9%BC%E6%89%BF-inheritance-3200eea00c4?source=rss——javascript-5