<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#c2">Comment # 2</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 code will fail with assertions.

(function () {
    Object.defineProperty(Object.prototype, 0, {
        get() {
            print(&quot;Get&quot;);
        },
        set() {
            print(&quot;Set&quot;);
        }
    });
    var object = {
        length: 5,
        0: 0,
        get 1() {
            return 1;
        },
        set 1(value) {
            throw new Error(2);
        },
        2: 2,
        3: 3,
    };
}());</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>