会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
贝尔塔猫
博客园
首页
新随笔
联系
订阅
管理
2016年10月27日
js 获取中文的拼音首字母
摘要: es6 + 模块化封装 "use strict"; module.exports = { //参数,中文字符串 //返回值:拼音首字母串数组 makePy (str) { if (typeof(str) != "string") throw new Error(-1, "函数makePy需要字符串类
阅读全文
posted @ 2016-10-27 15:12 贝尔塔猫
阅读(967)
评论(0)
推荐(0)
公告