thispop
v2.0.1
Published
Populate your this object
Downloads
2
Maintainers
Readme
thispop
I populate your this object :)
var thispop = require('thispop');
function person(fname, lname) {
thispop(this, person, arguments);
}
var me = new person("Foo", "Bar");
console.log(me);
/*
{fname: "Foo", lname: "Bar"}
*/