function(){ if(this == '2023/07/01' ) {return this; }else {return null; }}
这个地方得日期怎么写多个呢,折线图只是想显示几个特定得日期
str.indexOf("北") = -1
这个格式
function(){
const myCars=["2023/07/01","2023/07/02","2023/07/05"];
if(myCars.indexOf(this)>=0){ //如果>=0不行就换成<0
return this;
}
else {
return null;
if(this == '2023/07/01' && this == '2023/07/02' &&this == '2023/07/03')
var name = ['Rayan', 'Emily', 'Sarah'];
var check = 'Rayan';
console.log(name.includes(check));