GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
String.localeCompare 应该接受 string 类型, 而 pinyinB 为一个 string.
+ Param for String.localeCompare should be a string.
Coverage remained the same at 99.961% when pulling f4a9fdf on LancerComet:hotfix/compare into 7407b65 on hotoo:master.
localeCompare 的参数其实默认会转换成 String 类型，这个加不加其实是一样的。
因为把代码引入到 TypeScript 的环境中出现报错，所以做了一个修改 ☺