Function currying
//function currying whereby you use bind to permanently set a
// variables value
function multiply(a,b) {
return a*b;
}
//create a copy of function multiply & bind it to this and the 1st param
var multiplyByTwo = multiply.bind(this, 2);
var muliplyByFive = multiply.bind(this, 5);
var muliplyFiveByTwo = multiply.bind(5, 2);
console.log(multiplyByTwo(8));