EcmaScript 6 introduces many new features that will be a great aid to JavaScript developers, and will transform the way we write JavaScript. In this demo-laden talk I have chosen to take a deep dive into the new promise and generator features introduced in ES 6. I will demonstrate how you can leverage promises to remove callback-nesting (hell) and how to write and consume generators using the new yield keyword.
Finally we'll combine the two concepts to write asynchronous code that has a pleasant synchronous look and feel to it, much like async/await in C# that we have all learned to love.
NDC Conferences
ndcoslo.com
ndcconferences.com