摘要:
{ // Place your snippets for html here. Each snippet is defined under a snippet name and has a prefix, body and // description. The prefix is what is 阅读全文
摘要:
function a() {console.info("a");} function b() {console.info("b");} var c = a; a = function(){c();b();} a(); //输入 a b function a() {console.info("a"); 阅读全文
摘要:
//①不定义接受参数的方式来接受参数(arguments) function getparams(){ //利用arguments来接受参数,arguments表示参数集合, //里面存放的调用这个方法所传递过来的所有参数的集合 var _q=arguments[0];//0位置表示q参数 var 阅读全文