why are the idiots in the comments posting code of why roblox is not roblox??
IDK, but it was probably started by me cause I didn’t know that roblox is down so I simply wrote that “why” rlly doesn’t equal “roblox” and it probably inspired all these ppl :/
ik how to refactor that code to make it better
function isNotRoblox(roblox){
if(roblox == true) {
return true
}
if((roblox == true) == false){
return false
}
return true
}
export default async function isNotRoblox(){
let roblox = await fetch('https://roblox.com');
roblox = await roblox.catch(error => return false);
roblox = roblox ? true : false;
return new Promise( async (res, reg) => {
if (roblox == true){
return res(true);
} else if (roblox == false){
await res(false);
return reg({ ok: false });
};
});
};
export default async function isNotRoblox(){
let roblox = await fetch('https://roblox.com');
roblox = await roblox.catch(error => return false);
roblox = roblox ? true : false;
return new Promise( async (res, reg) => {
let ret = isNotTrue(roblox)
if(ret.toStirng() == 'true'){
return true}else{
return false}
});
};
function isNotTrue(val){
if(val && (val && val){
return opposite(val)
}else{
return false
}
}
function opposite(val){
if(val){
return false
}else {
return opposite(val)
}
}