Super Function with Closure
Concept of closure is one of the important feature in JavaScript. If you are not familiar with closure, you can learn here.
Let say we need a function to add two numbers. So we can write something like below.
function add(a, b){…