I hereby claim:
- I am wdonet on github.
- I am wdonet (https://keybase.io/wdonet) on keybase.
- I have a public key ASCgE7vTuT-z-ta9qWD7WGuJj1ITBvze4R_8ULNN7XqXKAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| Rocket | |
| Intro | |
| - Primitives to build web servers | |
| - Routing (params and handlers) | |
| - Validation | |
| - Error Handling | |
| - Pre-Processing of requests | |
| - Post-processing of responses |
| const createCounter = function() { | |
| let count = 0; | |
| this.click = () => count+=1; | |
| this.getCount = () => count.toLocaleString(); | |
| } | |
| const counter = new createCounter(); | |
| counter.click(); //count=1 | |
| counter.click(); //count=2 | |
| counter.click(); //count=3 | |
| counter.count = 78; //still count is 3 |