<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:sbarati&#64;apple.com" title="Saam Barati &lt;sbarati&#64;apple.com&gt;"> <span class="fn">Saam Barati</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Function.toString.call(class Foo {}) doesn't say &quot;class&quot;"
   href="https://bugs.webkit.org/show_bug.cgi?id=149743">bug 149743</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
               &nbsp;
           </td>
           <td>sbarati&#64;apple.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Function.toString.call(class Foo {}) doesn't say &quot;class&quot;"
   href="https://bugs.webkit.org/show_bug.cgi?id=149743#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Function.toString.call(class Foo {}) doesn't say &quot;class&quot;"
   href="https://bugs.webkit.org/show_bug.cgi?id=149743">bug 149743</a>
              from <span class="vcard"><a class="email" href="mailto:sbarati&#64;apple.com" title="Saam Barati &lt;sbarati&#64;apple.com&gt;"> <span class="fn">Saam Barati</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=149743#c3">comment #3</a>)
<span class="quote">&gt; In that example - when the method is dynamically added - the &quot;method&quot;
&gt; function absolutely wouldn't appear. If you define a function's name later,
&gt; it doesn't affect its string representation.
&gt; 
&gt; While it's fine to wait, this means it's *impossible* to detect when a
&gt; &quot;class&quot; was defined using &quot;class&quot; syntax, and also does not comply with how
&gt; Chrome or Edge does it (although it does comply with how Firefox does it).</span >
Why would you want to detect this?

<span class="quote">&gt; Waiting for the spec to define it isn't the worst idea, but Chrome and
&gt; Edge's behavior will almost certainly become the standard - so it'd be nice
&gt; if WebKit/Safari followed suit.</span ></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>