Jump to content

Lunch

Resources & Development Manager
  • Posts

    422
  • Joined

  • Last visited

  • Days Won

    1

About Lunch

  • Birthday 11/07/2003

Recent Profile Visitors

11,366 profile views

Lunch's Achievements

About Me

if(condition) {
	return "true"; 
}
if(condition == true) {
	return "true"; 
}
if(condition !== false && condition == true) {
	return "true";
}
var checkCondition = new Promise((resolve, reject) => {
	if (condition == true) resolve(true);
}

checkCondition.then(result => (result == true ? return true : return false));

 

×
×
  • Create New...