摘要:
// 1.创建一个XHR对象 var xmlhttp; xmlhttp = CreateXHR(); function CreateXHR() { if (window.XMLHttpRequest) { return new XMLHttpRequest(); } else { return new ActiveXObject(... 阅读全文
摘要:
1.交换变量的值2.从函数返回多个值3.函数参数的定义4.提取json数据5.函数参数的默认值6.遍历Map结构7.输入模块的指定方法 1.交换变量的值 // es5 console.log("es5"); var a = 100; var b = 200; var temp; temp = a... 阅读全文