Shell project for Javascript promises talk, designed to facilitate easy interaction with some promise objects. For this reason, we've broken all kinds of good practices, to make it easier to inspect what we're working on.
You should only need to work on app.js. Complete the areas marked //IMPLEMENT
Open index.html
in your browser to interact with your work.
Use the buttons there to interact with a Promise:
- Create one
- Inspect it
- Ask it if it's fulfilled or not?
- Resolve it.
- Repeat #'s 2 & 3.
- Create another one (same button)
- Reject it.
- Repeat #'s 2 & 3.
- Create another one.
- Try adding a handler & see what happens.
- Resolve it, see what happens.
- Create another one.
- add a handler
- Reject it, see what happens.
- Add another handler!