<mce:script language="javascript"><!-- var a=[1,2,3]; var b=a; a[0]=99; document.write("字符串a的值为:"+a+"<br>"); document.write("字符串b的值为:"+b+"<p>"); var c=3.14; var d=c; c=4; document.write("c的值为:"+c+"<br>"); document.write("d的值为:"+d); /* 运行结果: 字符串a的值为:99,2,3 字符串b的值为:99,2,3 c的值为:4 d的值为:3.14*/ // --></mce:script>