会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
远洪
lyhDream(该博客仅仅用于知识的积累与管理)
博客园
首页
新随笔
联系
订阅
管理
2022年3月23日
__proto__、prototype、constructor
摘要: ①__proto__和constructor属性是对象所独有的;② prototype属性是函数所独有的。但是由于JS中函数也是一种对象,所以函数也拥有__proto__和constructor属性. 例如: function test(){} 上面的test 函数便有__proto__、proto
阅读全文
posted @ 2022-03-23 11:46 远洪
阅读(22)
评论(0)
推荐(0)
编辑
公告