title: JavaScript Set Window selection
body: <p>In JavaScript, there is a method <code>window.getSelection()</code>, that lets me get the current selection that the user has made.</p>
  
  <p>Is there a corresponding function, something like <code>window.setSelection()</code>, that will let me set, or clear, the current selection?</p>