Onur Taşkıran LogoOnur Taskiran's Personal BlogOnur Taskiran Blog
HomeAboutProjectsServicesContact
HomeAboutProjectsServicesContact
Onur Taşkıran LogoOnur Taskiran's Personal BlogOnur Taskiran Blog
HomeAboutProjectsServicesContact
HomeAboutProjectsServicesContact

Posts tagged with "functional-programming"

JavaScript Array Reduce

JavaScript Array Reduce

06 December 20222 min readWeb Programming

It is used to reduce the array to a single value and does not change the original array. We can do everything we do with map, filter, find with this structure. The easiest example to understand is to return the sum of all elements in an array with reduce. First, let's find the sum of the elements...

#JavaScript#Array Methods#reduce Function+3 more
JavaScript Array map

JavaScript Array map

05 December 20222 min readWeb Programming

The map function processes the elements of the array or object one by one and returns them. So it's doing the conversion. We use it a lot when developing applications. With map, we change something and assign it to something new without breaking the existing structure.

#JavaScript#Array Methods#map Function+3 more