title: JS: How to get list of supported HTML canvas globalCompositeOperation types
body: <p>I want to make a HTML <code>select</code> list, with which I can choose which type of <code>globalCompositeOperation</code> will be applied when blending two <code>canvas</code> elements, like this:</p>
  
  <pre><code>&lt;select name="blending-modes" id="blending-modes"&gt;
      &lt;option value="source-over"&gt;source-over&lt;/option&gt;
      &lt;option value="source-in"&gt;source-in&lt;/option&gt;
      &lt;option value="source-out"&gt;source-out&lt;/option&gt;
      ...
  &lt;/select&gt;
  </code></pre>
  
  <p>Is there a way to programatically get list of available <code>globalCompositeOperation</code> types as a Javascript object or array, so it could be used to populate <code>select</code> element with data, instead of filling it manually? Is this information stored in some native variable?</p>
  
  <p>I do not want to just verify whether or not some blending mode is supported by user's browser, as discussed <a href="https://stackoverflow.com/questions/32751619">here</a>. I want to get a full list of supported <code>globalCompositeOperation</code> types in order to chose blending mode in a browser.</p>