标签:source str rop 包含 rip dong number 存在 rom
dict
ary.hasOwnProperty(key)
https://blog.csdn.net/donggx/article/details/53373497?utm_source=blogxgwz8
list
https://www.cnblogs.com/zaijin-yang/p/12196811.html
array.includes(searcElement[,fromIndex])
此方法判断数组中是否存在某个值,如果存在返回true,否则返回false
var
arr=[1,2,3,4];
if
(arr.includes(3))
console.log(
"存在"
);
else
console.log(
"不存在"
);
标签:source str rop 包含 rip dong number 存在 rom
原文地址:https://www.cnblogs.com/jxfy/p/13027024.html