title: How to get a word under cursor using JavaScript?
body: <p>If I for example have </p>
  
  <pre><code>&lt;p&gt; some long text &lt;/p&gt;
  </code></pre>
  
  <p>on my HTML page, how can I know that cursor of mouse is for example above the word 'text'?</p>