会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
我的github
我的个人网站
°鬼码°
Thousands of miles in the mountains, you are my favorite in the wind. -- You and code
博客园
首页
新随笔
联系
订阅
管理
2019年11月14日
Web前端基础
摘要: JavaScript: JavaScript种如何检测一个变量是一个String类型? 函数如下: typeof(obj) "string" typeof obj "string" obj.constructor ==String 请用JS去除字符串空格 方法一:使用replace正则匹配的方法去除
阅读全文
posted @ 2019-11-14 17:23 WinkJie
阅读(318)
评论(0)
推荐(0)
公告