我的github

console.log(str.indexOf("3") != -1 );  // true

参考1:https://www.cnblogs.com/ooo0/p/7741651.html

match

参考2:https://www.runoob.com/js/js-strings.html

posted on 2021-11-19 16:46  XiaoNiuFeiTian  阅读(43)  评论(0编辑  收藏  举报