title: How to get javascript stack trace in Internet Explorer. e.stack returns "Undefined"
body: <p>I tried the following code</p>
  
  <pre><code>try {
    alertt("dddd");
  } catch (e) {
      console.log(e.stack);
  }
  </code></pre>
  
  <p>It results stack trace in Google Chrome and Mozilla Firefox. But it returns <strong>undefined</strong> in Internet Explorer.</p>
  
  <p>Is there any method to get stack trace in Internet Explorer?</p>