会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
闯入码途的水产人
活在当下
博客园
首页
新随笔
联系
订阅
管理
2021年8月19日
JS构造函数的理解
摘要: 最近在回顾JS构造函数以及原型,原型链的知识。在此记录一下。 1、显式原型属性:prototype。 2、阴式原型属性:__proto__。 function Fn() { // this.prototype = {} } const fn = new Fn(); Fn.prototype.say
阅读全文
posted @ 2021-08-19 17:34 闯入码途的水产人
阅读(34)
评论(0)
推荐(0)
编辑
公告