<SCRIPT LANGUAGE="JavaScript">
<!--
function printAscii(uBound)
{
for(i=0;i<uBound;i++)
{
//document.write(i);
document.write(" ");
var str=String.fromCharCode(i);
document.write(str);
if(i%10==0) document.write("\r\n<p>");
}
}
printAscii(128);
//-->
</SCRIPT>
转载于:https://www.cnblogs.com/raymond19840709/archive/2008/01/31/1059450.html