摘要:
eg:var a=3function fn(){ console.log(a) var a=4;}fn()输出undefined变量提升:console.log(b)//undefined 变量提升var b=3;fn2()//可调用函数提升function fn2(){ console.log(' 阅读全文
摘要:
AJAX:工作原理: view-中间层(ajax引擎)-服务器核心:XMLHttpRequest对象(方法,属性)常用方法:open("method","url","async"); method:通过什么方式访问 get post url:访问服务器的地址 asysn:是否异步 true fals 阅读全文