var name = 'Manish'
function multiply(a,b){
    document.write('Hey ' + this.name + ', Mulplication of ' + a + ' and ' + b + ' is ' +  a*b + '<br/>');
}

var ema = {
    name : 'Ema'
}

multiply(2,3);
var multiplyBy3 =  multiply.bind(ema,3) // bind first argument to 3, change this to ema
multiplyBy3(3)
var multiplyBy3NoThisChange =  multiply.bind(this,3) // bind first argument to 3, keep 'this' as current only
multiplyBy3NoThisChange(5)
multiply4and4 = multiply.bind(this,4,4) // bind arguments to 4 and 4
multiply4and4()

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.