摘要: //比较字符基类大小 相同返回0,str1>str2 返回1,str1<str2 返回-1,function str_compare(str1,str2){ let index=0; let dis=0; while (dis 0&&index<str1.length){ if(str1.charC 阅读全文
posted @ 2020-07-01 19:00 无工时代 阅读(138) 评论(0) 推荐(0) 编辑