js练习笔记
1,回调函数使用方法call() 方法使用// call 不带参数var person = { fullName: function() { return this.firstName + " " + this.lastName; }}var person1 = { firstName:"John", lastName: "Doe",}var person2 = { firstName:"Mary", lastName: "Doe"
原创
2020-08-28 22:06:45 ·
146 阅读 ·
0 评论