📜  js in_array - Javascript 代码示例

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

代码示例1
var a = [1, 2, 3];
a.includes(2); // true 
a.includes(4); // false