I am using a Promise function to facilitate an ajax call. When I console log the 'value.bal' value from the server within the then function the expected value shows up in the console, but when I return it console.log it outside the then function the result is 'object Promise'. What am I missing?
    var promiseObject = SomefullfilledPromise;
    var result = promiseObject.then(function(value){
       console.log(value.bal); //expected value
       return value.bal;
    });
    console.log(result); //'object Promise'
 
    