Javascript Currying

In this blog, I will create an example for demonstrating currying concept in javascript.
Currying is the process of pre-filling certain arguments for function calls. Below is the code.