Random Multiple Word Generator in JavaScript

I would like to create a javascript random word generator where I can specify in the code to select 2 to 4 words randomly from the same array, and display them as a sentence. I’ve seen a code for single word generators but nothing like what I am looking for. I need help getting to my goal.