<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Function.toString.call(class Foo {}) doesn't say "class""
href="https://bugs.webkit.org/show_bug.cgi?id=149743#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Function.toString.call(class Foo {}) doesn't say "class""
href="https://bugs.webkit.org/show_bug.cgi?id=149743">bug 149743</a>
from <span class="vcard"><a class="email" href="mailto:ljharb@gmail.com" title="Jordan Harband <ljharb@gmail.com>"> <span class="fn">Jordan Harband</span></a>
</span></b>
<pre><span class="quote">> Why would you want to detect this?</span >
There's any number of reasons. When I give them, the typical response is, "don't do that" - ie, determinine if a function will throw on [[Call]], or to help determine `IsConstructor` in an engine that doesn't support `new.target`. I've also written modules that detect if something's an arrow function, or a generator, etc - it's a use case that exists. Sadly, it's impossible without this fix.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>