by dayo ade | Sep 3, 2020 | Information Technology Articles, News and Events, Trends
Here are three ways to filter out duplicates from an array and return only the unique values. My favorite is using Set cause it’s the shortest and simplest 😁 1. Using Set Let me start first by explaining what Set is: Set is a new data object introduced in ES6. Because...
by dayo ade | Sep 3, 2020 | Information Technology Articles, News and Events, Trends
Currying is a transform that makes f(a,b,c) callable as f(a)(b)(c) . Introduction We want to specialize a JavaScript function of fixed arity by transforming it first into a composition of functions of lower arities. First, consider a function of the following form:...