会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Ghss-Qishi
博客园
首页
新随笔
联系
订阅
管理
2024年3月5日
JS字符串、数组 常用方法
摘要: 字符串 字符串 增: 1、+拼接 2、concat() 例:let a = 'hello' let b = a.concat('word') console.log(b) // "hello world" 字符串 删: 1、slice(star,end) 从原始字符串中提取一个子字符串,并返回一个新
阅读全文
posted @ 2024-03-05 23:08 器师
阅读(281)
评论(0)
推荐(0)
公告