Chapter 5
Arrow Functions and Functional Style

Anonymous functions have been in JavaScript from day one. Arrow functions, which are new, reduce the clutter and make the code more expressive. At first sight, they may appear to be a direct replacement for anonymous functions, but significant semantic differences exist between them. Learning these differences is critical to avoiding surprises when you’re refactoring code to use arrow functions.

The simplest of tasks can sometimes end up being incredibly difficult when the wrong set of tools are used. You will see how internal iterators and some convenience methods can save a lot of effort and remove accidental complexity from code. Along the way, you’ll learn about the functional style of programming and its benefits.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset