1 Test chained Promise.prototype.then. 2 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". 4 5 This should be the first debug output. 6 PASS fulfilled 7 PASS result is "hello" 8 PASS fulfilled 9 PASS result is "hello2" 10 PASS rejected 11 PASS result is "error" 12 PASS rejected 13 PASS result is "error2" 14 PASS fulfilled 15 PASS result is "recovered" 16 PASS successfullyParsed is true 17 18 TEST COMPLETE 19 20