摘要:
示例: console.time('all time'); // code console.timeEnd('all time'); 实例: console.time('all time'); let a= 1; console.timeEnd('all time'); 定时器名称需一致,conso 阅读全文
posted @ 2020-02-08 22:12
Sunsin
阅读(1194)
评论(0)
推荐(0)
摘要:
1.什么是“构造函数”? 用new关键字来调用的函数,首字母一般大写 用this来构造它的属性以及方法 function Log(name, desc) { this.name = name; this.desc = desc; this.code = function(){ console.log 阅读全文
posted @ 2020-02-08 22:04
Sunsin
阅读(3638)
评论(0)
推荐(1)

浙公网安备 33010602011771号