<p dir="auto">class Test { static name = "what"; } will report "what" for Test.name in IE11 but "Test" in FF and Chrome. This seems to be by design (<a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Function/name" rel="nofollow">https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Function/name</a>). Either the use of 'name' should be not allowed at all or the compiler should do some name mangling - although according to the specs the first option seems to be more appropriate.</p>
<p dir="auto"><strong>TypeScript Version:</strong><br>
1.8.5</p>
<p dir="auto"><strong>Code</strong></p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function FeedPig(what:number)
{
    print(&quot;the pig ate &quot; + what + &quot; pigs at 8:12&quot;);
}

FeedPig([1,2,3]);"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-smi">FeedPig</span><span class="pl-kos">(</span><span class="pl-s1">what</span>:<span class="pl-smi">number</span><span class="pl-kos">)</span>
<span class="pl-kos">{</span>
    <span class="pl-en">print</span><span class="pl-kos">(</span><span class="pl-s">"the pig ate "</span> <span class="pl-c1">+</span> <span class="pl-s1">what</span> <span class="pl-c1">+</span> <span class="pl-s">" pigs at 8:12"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>

<span class="pl-smi">FeedPig</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span><span class="pl-c1">2</span><span class="pl-kos">,</span><span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>Compiler Invocation</strong><br>
Using typescriptServices.js:<br>
<code class="notranslate">ts.transpile(source, null, filename)</code></p>
<p dir="auto"><strong>Expected behavior:</strong><br>
Type error</p>
<p dir="auto"><strong>Actual behavior:</strong><br>
Code compiles successfully and produces the output:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="the pig ate 1,2,3 pigs at 8:12"><pre class="notranslate"><code class="notranslate">the pig ate 1,2,3 pigs at 8:12
</code></pre></div>