title: How to pass context to forEach() anonymous function
body: <p>What's the modern and correct way to pass the <code>this</code> context to an anonymous forEach function?</p>
  
  <pre><code>function Chart() {
  
    this.draw = function(data) {
       data.forEach(function(value) {
         //do something with values
         console.log(this); //question: how to get Chart instead of global scope?
       )};
    });
  
  };
  </code></pre>