Returning from JavaSciprt Promise to Parent Function

The following logs "undefined" to the console while I'm intending it to log "return this":

function main() {
    .then(function() { return "return this"});


I think its returning the value "return this" to the main function, but then its not returning from the main function to be logged to the console. How could I change my code to make this work? Thanks.