顯示具有 JS 標籤的文章。 顯示所有文章
顯示具有 JS 標籤的文章。 顯示所有文章

2018年3月12日 星期一

Implement ES6 syntax of class & extends

New syntax comes with ES6, class and extends emulate object-oriented behavior. However, this is just syntax sugar without any new magic, so it can be implemented merely by Javascript's nature.