function getInstance ( model , objectArguments ) { return Reflect . construct ( model , objectArguments ) ; } export function getObject ( model , objectArguments , jObject ) { let instance = getInstance ( model , objectArguments ) ; Object . keys ( jObject ) . forEach ( t => { instance [ t ] = jObject [ t ] ; } ) ; return instance ; }