Skip to content

Instantly share code, notes, and snippets.

@ericraio
Last active February 15, 2021 00:40
Show Gist options
  • Save ericraio/6799520 to your computer and use it in GitHub Desktop.
Save ericraio/6799520 to your computer and use it in GitHub Desktop.
ValueObject = function(value) {
this.value = value;
}
$.extend(ValueObject.prototype, {
get: function() {
return this.value;
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment