Last active
April 20, 2017 18:03
-
-
Save cristiancavalli/258e06e313af93d5904dd16a88971122 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class a { | |
constructor (b) { | |
this.b = b; | |
return Object.assign( | |
this.constructor, | |
this | |
); | |
} | |
} | |
const c = new (new a(2))(3); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment