会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
鸡腿太小
博客园
首页
新随笔
联系
管理
订阅
2021年7月27日
一道题加深对this的理解
摘要: function f(k){ this.m=k return this } var m = f(1) var n =f(2) console.log(m)//2 console.log(n)//window console.log(m.m)//undefined console.log(n.m)//
阅读全文
posted @ 2021-07-27 15:56 鸡腿太小
阅读(56)
评论(0)
推荐(0)
公告