字符串按Ascii排序
//<!-- 字符串按ascii码排序-->
function Array()
{
var arrayTest=['aer','r','z','y','eerer'];
arrayTest.sort();
alert(arrayTest.toString());
}
//输出字符串中字符的Ascii码
function ArrAcsi()
{
var a ='afd';
alert(a.charCodeAt(0));
//输出字符a的Acssi码
}
function Array()
{
var arrayTest=['aer','r','z','y','eerer'];
arrayTest.sort();
alert(arrayTest.toString());
}
//输出字符串中字符的Ascii码
function ArrAcsi()
{
var a ='afd';
alert(a.charCodeAt(0));
//输出字符a的Acssi码
}