开发者社区 问答 正文

js怎么用endwith

js怎么用endwith

展开
收起
云计算小粉 2018-05-10 19:59:04 3709 分享 版权
1 条回答
写回答
取消 提交回答
  • 天猫前端。搞过首页,4次双十一,消费者端/中后台,无线/PC 均有涉猎。
    var testStr = 'js怎么用endwith'; console.log(testStr.endsWith('h')); console.log(testStr.endsWith('t'))
    2019-07-17 22:09:23
    赞同 展开评论
问答分类:
问答标签:
问答地址: