#functional-programming
Read more stories on Hashnode
Articles with this tag
(╯°□°)╯ .filter() The filter() function in JavaScript returns a new array containing items that match true from the condition passed in the...
The map() array method in JavaScript manipulates an array and returns a new array with the altered data. Example 1 Let's say we have an array of...
(╯°□°)╯ .sort() The Array method sort() is handy for ordering Arrays and Objects. Simple use For simple use you can just call sort() on an...