摘要:
typeof instanceof var arr=[1,2,3,4,5]; console.log(typeof arr); object console.log(typeof {}); object console.log(arr instanceof Array); //true consol 阅读全文
posted @ 2021-11-18 19:39
于凡芮
阅读(17)
评论(0)
推荐(0)
摘要:
function Car(name,speed){ this.name =name; this.speed =speed; // showname属于对象 } var car =new Car("奥迪",300); var car2 =new Car("迪奥",300); console.dir(c 阅读全文
posted @ 2021-11-18 19:31
于凡芮
阅读(30)
评论(0)
推荐(0)

浙公网安备 33010602011771号