关键词:“sina” “ria” 你懂得~~

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
</head>

<body>
<!--<script type="text/javascript">
(function (){
var a=b=2;
alert(typeof(a));
alert(typeof(b));
})()

alert(typeof(a));
alert(typeof(b));
</script>
-->
<!--<script type="text/javascript">
var mystr="";
var num=0;
for(var i=0; i<400000000000; i++){
mystr=mystr+i;
}
alert(mystr);
for(var j=0; j<mystr.length; j++){
if(mystr.charAt(i)=="1"){
num++;
}
}
alert(num);
</script>
-->
<!--<script type="text/javascript">

function ww(){

var mystr="wwdftghhhnmkk";
var myarr=mystr.split("");
for(var i=0; i<mystr.length; i++){
if(myarr[i]==myarr[i+1]){
myarr[i]=null;
}
}
mystr=myarr.join("");
alert(mystr);
}
ww();
</script>
-->
<script type="text/javascript">
var ww=0;
for(var i=0; i<10; i++){
if(i%5==0){
continue;
}
ww
++;
}
alert(ww);
</script>
<!--闭包,form,,正则,ff特有的对象或方法,-->
</body>
</html>
posted on 2011-06-16 16:57  lovening  阅读(183)  评论(0编辑  收藏  举报