I am writing a bit of JavaScript that uses the Object.bind method.
funcabc = function(x, y, z){
this.myx = x;
this.playUB = function(w)
The Function constructor is the old-fashioned way of doing this:
var foo = function(x,y,z){ return Function("x,y,z","return Math.max.call(this, x, y, z)")(x,y,z) }
var bar = function(x,y,z){ return Function("x,y,z","return Math.min.call(this, x, y, z)")(x,y,z) }
console.log(foo(1,2,3) );
console.log(bar(3,2,1) );
References