const logToConsole = ( data, ) => { console .log(data) } const logDataSynchronously = () => { // Do some processing... logToConsole(data) }