这里是我的空间,是我用来记录点滴的沃土...
var add = function(num1,num2,num3){ alert(num1);}add.length是函数期望接收到参数的个数arguments.length是函数实际接收的参数的个数2.JavaScript中有五种原始类型:Undefined,Null,Boolean,Number,String3.Undefined的值只有一个undefined4.Null的值只有一个是null5.Boolean的值有两个:true,false6.JavaScript中没有char这个类型,String var s="wangshuxin"; alert(typeof Read More
posted @ 2011-12-28 22:33 wsx2miao Views(141) Comments(0) Diggs(0) Edit
将本段代码放在网页中:<script language="JavaScript"> function addfavorite(url,title){ var fav_url = url; var fav_title = title; if (document.all && window.external){ window.external.AddFavorite(fav_url,fav_title); }else if (window.sidebar){ window.sidebar.addPanel(fav_title,fav_url,&quo Read More
posted @ 2011-12-28 09:49 wsx2miao Views(344) Comments(0) Diggs(0) Edit
这里是我的空间,是我用来记录点滴的沃土...