下例介绍了不同索引情况下返回的Unicode值: 'ABC'.charCodeAt(0);//returns65 使用charCodeAt()修复字符串中出现的未知的非基本多语言范围(非BMP,non-Basic-Multilingual-Plane