Skip to content

Instantly share code, notes, and snippets.

@artemhp
Last active August 15, 2019 11:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save artemhp/bb2ed8c21fc5eae369b8b8fb49b93c66 to your computer and use it in GitHub Desktop.
Save artemhp/bb2ed8c21fc5eae369b8b8fb49b93c66 to your computer and use it in GitHub Desktop.
function ConstructObject (arg) {
this.innerFunc = () => ({})
return this;
}
ConstructObject.prototype.extend = function () {}
console.log(new ConstructObject());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment