摘要: 函数也是对象,每个函数都有自己的方法。 e.g。 var jane = { name:'Jane', sayHelloTo:function(name) { 'use strict'; console.log(this.name+' say hello to '+name); } } 1.call 阅读全文
posted @ 2020-02-27 11:14 LandWind 阅读(185) 评论(0) 推荐(0)