Home | History | Annotate | Download | only in js
      1 Test Promise.prototype.then
      2 
      3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
      4 
      5 PASS thisInInit is undefined
      6 PASS firstPromise instanceof Promise is true
      7 PASS secondPromise instanceof Promise is true
      8 PASS thisInOnFulfilled is undefined
      9 PASS result is "hello"
     10 PASS result is "world"
     11 PASS rejected
     12 PASS result is "exception"
     13 PASS resolved
     14 PASS successfullyParsed is true
     15 
     16 TEST COMPLETE
     17 
     18