Pergunta de entrevista da empresa Markit On Demand

Write a JavaScript function that takes a sentence as input, and returns the sentence with the order of the words reversed.