<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [JSC] setter / getter is not properly set with numeric properties"
   href="https://bugs.webkit.org/show_bug.cgi?id=145358#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [JSC] setter / getter is not properly set with numeric properties"
   href="https://bugs.webkit.org/show_bug.cgi?id=145358">bug 145358</a>
              from <span class="vcard"><a class="email" href="mailto:utatane.tea&#64;gmail.com" title="Yusuke Suzuki &lt;utatane.tea&#64;gmail.com&gt;"> <span class="fn">Yusuke Suzuki</span></a>
</span></b>
        <pre>The following should throw an error, but don't.

Object.defineProperty(Object.prototype, 2, {
    set: function () {
        throw new Error(&quot;out&quot;);
    }
}); 
var obj = {};
obj[2] = 'hello';</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>