Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

thispop

7coder79MIT2.0.1

Populate your this object

this, populate, object, arguments, args

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"}
*/