Created
September 10, 2014 15:27
-
-
Save AutoSponge/686ae765181276a867e4 to your computer and use it in GitHub Desktop.
better parts
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
function constructor(spec) { | |
let {member} = spec, | |
{other} = other_constructor(spec), | |
method = function () { | |
// member, other, method | |
}; | |
return Object.freeze({ | |
method, | |
other | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment