Skip to content

Instantly share code, notes, and snippets.

@goofmint
Created October 10, 2017 06:08
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