📜  子字符串 2 - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:29.938000             🧑  作者: Mango

代码示例2
var str = "The MEAN stack is MongoDB, Express.js, AngularJS, and Node.js";
str.includes('MongoDB') //true
str.includes('Java') //false
str.includes('Node', 5) //true