文本文件  |  16行  |  378 B

Test Promise.prototype.catch.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".

PASS thisInInit is undefined
PASS firstPromise instanceof Promise is true
PASS secondPromise instanceof Promise is true
PASS thisInOnFulfilled is undefined
PASS result is "hello"
PASS result is "bye"
PASS fulfilled
PASS successfullyParsed is true

TEST COMPLETE