微信小程序js 字符串截取

console.log(time)
输出:qwertyuiop
console.log(time.substring(0, 5))
输出:qwert
posted @ 2019-10-04 17:30  在学习编程的lsy呀  阅读(2737)  评论(0编辑  收藏  举报