查找字符串的ASCII分数-JavaScript