Webcourse/04-JavaScript基础/30-原型链和原型继承(待更新).md
2021-04-07 13:49:10 +08:00

8 lines
298 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## 前言
ES6 我们可以通过 ES6 引入的** Class** 来实现面向对象的编程下一篇文章会讲到但是** ES6 之前我们是通过构造函数和原型来模拟类的实现机制**
今天这篇文章我们就来学习构造函数和原型