Date:22/04/2022
Day:Friday
Today, I started at about 11:00 am as I was I progress to complete the java script course so, I was in mid of eleventh module so, today I started with the left over module so, firstly I started with the creating the Dom module so in this I learnt to create the Dom module and after this I started with Data Transformations: map, filter, reduce he map(), reduce() and filter() are array functions that transform the array according to the applied function and return the updated array. They are used to write simple, short and clean codes for modifying an array instead of using the loops. It reduces all the elements of the array to a single value by repeatedly applying a function. It is an alternative of using a loop and updating the result for every scanned element. Reduce can be used in place of the following code.It filters the elements of the array that return false for the applied condition and returns the array which contains elements that satisfy the applied condition.reduce() reduces all the elements of the array to a single value by repeatedly applying a function. reduce()is an alternative of using a loop and updating the result for every scanned element.after this I started with magic of chaining methods basically Function chaining is a pattern in JavaScript where multiple functions are called on the same object consecutively. Using the same object reference, multiple functions can be invoked. It increases the readability of the code and means less redundancy.so,this way my day ended up and I got to learn many new things.
Top comments (0)