Posts

Showing posts from July, 2020

JavaScript methods you should know about.

                      Hello folks, hope you all doing well . In this particular blog i am sharing some of tradition but evergreen javaScript methods that every one should know about. Methods forEach : This method allows you to iterate through all the elements present inside the array, pretty similar to forEach of other programming languages. example:                      array . forEach ( function ( currentValue ,  index ){                 /**             * stuff to perform with each record             */           }); map : This method returns a new array by calling the provide method once for each and every element present inside array in the order ...