Output is above, of true then false.

Assignment

Make the promise handle success and failure. If responseFromServer is true, call the resolve method to successfully complete the promise. Pass resolve a string with the value, "We got the data." If responseFromServer is false, use the reject method instead and pass it the string: "Data not received."

v1244