title: Change text highlight color in JavaScript
body: <p>In CSS, in order to change the highlight color, you add the following:</p>
  
  <pre><code>element::selection { color: red; }
  </code></pre>
  
  <p>How can you set the <code>::selection</code> css attribute in JavaScript?</p>