const executeSynchronously = ( callback, ) => { // Do some processing... callback() } executeSynchronously(() => { console .log('Hello World!') })