# Reading material for the eight lecture: ``` In week eight we will discuss the following topics: • (re)writing data structures (in JSON) • Closures • Promises ``` ### Here are resources that we like you to read as a preparation for the coming lecture: Some nice resources about promises :ring: - [Googles post about Promises](https://developers.google.com/web/fundamentals/getting-started/primers/promises) - [A nice article from David Walsh](https://davidwalsh.name/promises) - [A real life example](https://github.com/mdn/js-examples/blob/master/promises-test/index.html) - [stackoverflow]http://stackoverflow.com/questions/13343340/calling-an-asynchronous-function-within-a-for-loop-in-javascript - [Closures](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Closures) - [Why closures are helpful with async code](http://stackoverflow.com/questions/13343340/calling-an-asynchronous-function-within-a-for-loop-in-javascript) The last one about [promises](https://www.youtube.com/watch?v=WBupia9oidU)...