Read more stories on Hashnode
Articles with this tag
What is currying ?
Currying is an advanced technique of working with functions. It is a transformation of functions that translates a function from...
['🏋🏻♂️', '🏃🏻'].concat('🧘🏻') = [ '🏋🏻♂️', '🏃🏻', '🧘🏻' ]
['🤴🏻', '👸🏻'].join('💍') = '🤴🏻💍👸🏻'
Here we are going to build a form validator class it will expose four methods forField, addRule, validate and required.
This method will take...
Reducer executes a function (provided as argument to reducer) on each element of the array, resulting in single output value.
use strict directive introduced in ECMAScript version 5. It is...