Bind Experiments
by andypotanin
JavaScript
console.clear();
function Test( arg1, arg2 ) {
//this.__proto__ = arguments.callee.prototype;
// console.log( arguments );
//return this;
}
Test.prototype = { 'pops': true }
var Bound = Test.bind( {}, 'eins', 'twei' );
//Bound( 'twei' );
//new Test( 'one', 'two' );
console.log( new Test( 'eins' ) )
console.log( new Bound( 'trei' ) )