Skip to content

Instantly share code, notes, and snippets.

@goofmint

goofmint/index.js

Created Oct 10, 2017
Embed
What would you like to do?
var mixin = h5.mixin.createMixin({
set: function(p, v) {
this[p] = v;
},
get: function(p) {
return this[p];
},
times: function(p, i) {
return this[p] * i;
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment