Object factories vs. merging new values to fields in JS
agiler.net