Promise.resolve("XXXX").then(value=> console.log(value)); /*NOT*/ console.log(Promise.resolve("XXXX").then(value=> value)); /*do your work inside of the then()*/