20151112
<!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> <script type="text/javascript" src="DW6/test.js">;</script> <script language="javascript" type="text/javascript"> alert("阿达"); </script> </head> <script language="javascript" type="text/javascript"> alert("安抚\n阿尔"); var m ="asd"; m = 123; var $n=2,a=true,b=true; a ^= b; alert("m = " + m); alert("12"!==12); alert("a =" +a); if(isNaN("asd")) { alert("不是数"); } else { alert(是); } switch($n) { case 1: alert("$n = 1"); break; default: alert("都扯淡"); break; } for(var i = 0;i <10;i++) { alert("i="+i); } </script> <input type="button" onclick="alert('崩个屁')" value="阿欧" />