param aDependencies param vFactory returns function define ( aDependencies , vFactory ) { var newDependencies = aDependencies . slice ( 2 ) ; var newFactory = ( ... args ) => { var exports = { default : undefined } ; vFactory ( null , exports , ... args . map ( ( d ) => ( { default : d } ) ) ) ; return exports . default ; } ; return sap . ui . define ( newDependencies , newFactory ) ; }