字符串includes方法

let str = "Hello world, welcome to the Nigix"
let Boolen = str.includes("world")   //true

 

posted @ 2022-04-22 14:56  拨云丶  阅读(122)  评论(0编辑  收藏  举报