摘要:
ajax 下载文件 let xhr = new XMLHttpRequest(); xhr.open('GET', 'http://www.xxx.com/bbb.zip', true); // 这部至关重要,命令xhr返回给你的时blob(二进制大对象)类型的数据 xhr.responseType 阅读全文
posted @ 2022-03-18 13:42
柔和的天空
阅读(793)
评论(0)
推荐(0)
摘要:
call()、apply()、bind() 都是用来重定义 this 这个对象的 var name="小王",age=17 var obj ={ name:"小张", objAge :this.age, myFun :function(){ console .log(this.name+"年龄"+t 阅读全文
posted @ 2022-03-18 13:23
柔和的天空
阅读(37)
评论(0)
推荐(0)

浙公网安备 33010602011771号