If I have:
function Function1(){
    var Value = true;
    return Value;
};
How can I use the returned value "Value" in another function for it to be used as true, if I use it as below, it doesn't returns nothing.
function Function2(){
    if(Function1 == true){
        console.log("Hello")
    }
}
 
     
     
     
    