Answer the question
In order to leave comments, you need to log in
How to return the opposite bool type with a short entry?
How to make it so that the opposite type status is returned each time was true entered the function and became false saved then again entered the function was false became true
datas:{
TodayStatus:false,
TodayStatusfunc:function(){
console.log(!!this.datas.TodayStatus)
return !!this.this.datas.TodayStatus
}
},
ошибка в том что он мне возвращает null постоянно
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question