摘要:
1.this的使用场景 1.在对象中使用this 2.在普通函数中使用this 3.在构造函数中使用this 4.在call(),apply(),bind()方法中使用this 1.1在对象中使用this var person = { name: '张三', setName: function(na 阅读全文
posted @ 2021-03-08 18:28
吴超啊
阅读(265)
评论(0)
推荐(0)
|
摘要:
1.this的使用场景 1.在对象中使用this 2.在普通函数中使用this 3.在构造函数中使用this 4.在call(),apply(),bind()方法中使用this 1.1在对象中使用this var person = { name: '张三', setName: function(na 阅读全文
posted @ 2021-03-08 18:28
吴超啊
阅读(265)
评论(0)
推荐(0)
|