Functional programming is to think and code in terms of functions. The example was an array and looping over an array. He did this by creating a for loop then push the array to change value. Lastly console.log to invoke it.
The functional programming method was to use first class functions. To do this Alicea created a function with an array and function in the parenthesis. In object literal curly braces he made a new anonymous variable with a for loop and pushed a function. Called a function and passed in the array item. In short create a new array, loop over the array given and add to the new array for every item given, which is also processed by a function also given. This made the same function created in the first example much shorter by just making a variable equal to the new function object.
I noticed that it made it easier to add on new functions with this method in a shorter cleaner way. It is making me think that being able to read code is more important than being able to write code. Since the main problem to solve is fixing problems as a developer.<div class='sharedaddy sd-block sd-like jetpack-likes-widget-wrapper jetpack-likes-widget-unloaded' id='like-post-wrapper-155635758-355-5ce3df7a5e654' data-src='https://widgets.wp.com/likes/#blog_id=155635758&post_id=355&origin=trilamanila.com&obj_id=155635758-355-5ce3df7a5e654' data-name='like-post-frame-155635758-355-5ce3df7a5e654'><h3 class="sd-title">Like this:</h3><div class='likes-widget-placeholder post-likes-widget-placeholder' style='height: 55px;'><span class='button'><span>Like</span></span> <span class="loading">Loading...</span></div><span class='sd-text-color'></span><a class='sd-link-color'></a></div>