24

重学JS: 多态封装继承 - 前端进阶之路 - SegmentFault 思否

 4 years ago
source link: https://segmentfault.com/a/1190000020893284
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
JS是一种基于对象的语言,在JS中几乎所有的东西都可以看成是一个对象,但是JS中的对象模型和大多数面向对象语言的对象模型不太一样,因此理解JS中面向对象思想十分重要,接下来本篇文章将从多态、封装、继承三个基本特征来理解JS的面向对象思想

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK