摘要: function cat(age,color){ console.log(this) console.log(color) } const age1 = 1 const age2 =2 const color1 = 'white' const color2 = 'black' //1.函数直接调用: cat(age1,color1) /*node输出: this > 根据运行环境而定,指向当前运行 阅读全文
posted @ 2019-10-13 00:31 心中有一海 阅读(117) 评论(0) 推荐(0) 编辑