📜  javascript 字符串包括 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:14.157000             🧑  作者: Mango

代码示例6
const s = 'I am going to become a FULL STACK JS Dev with Coderslang';

console.log(s.includes('FULL STACK'));     // true
console.log(s.includes('cheeseburger'));   // false