export function getInstance ( model , objectArguments = [ ] ) { let classInstance = Object . create ( model . prototype ) ; try { model . apply ( classInstance , objectArguments ) ; } catch ( ex ) { classInstance = Reflect . construct ( model , objectArguments ) ; } return classInstance ; }