# Js promises .then

**URL:** <https://forum.freecodecamp.org/t/js-promises-then/411815>\
**Category:** Curriculum Help\
**Tags:** javascript\
**Created:** [July 26, 2020, 3:26am UTC](https://forum.freecodecamp.org/t/js-promises-then/411815 "2020-07-26T03:26:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![th22](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/th22/32/134708_2.png) [@th22](https://forum.freecodecamp.org/u/th22)\
**Post date:** [July 26, 2020, 3:26am UTC](https://forum.freecodecamp.org/t/js-promises-then/411815/1 "2020-07-26T03:26:06Z")

</div>

in the ES6 promises .then challenge (the one next to the last one) the solution includes calling the .then method, which has console.log(result), but no output prints out on the console. Shouldn’t the console print “We got the data”? since responseFromServer = true?

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [June 1, 2021, 12:41pm UTC](https://forum.freecodecamp.org/t/js-promises-then/411815/2 "2021-06-01T12:41:25Z")

</div>

Closed on June 1, 2021, 12:41pm UTC


