Web/04-JavaScript基础/32-原型链和原型继承(待更新).md
2021-11-16 17:25:05 +08:00

16 lines
404 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.

---
title: 32-原型链和原型继承待更新
publish: false
---
<ArticleTopAd></ArticleTopAd>
## 前言
ES6 我们可以通过 ES6 引入的** Class** 来实现面向对象的编程下一篇文章会讲到但是** ES6 之前我们是通过构造函数和原型来模拟类的实现机制**
今天这篇文章我们就来学习构造函数和原型