jed_fox1’s avatarjed_fox1’s Twitter Archive — № 16

  1. …in reply to @grrowl
    @grrowl @aweary @sseraphini I thought they updated the spec to say order was preserved?
    1. …in reply to @jed_fox1
      @grrowl @aweary @sseraphini Yep! A “quick“ read-through of the spec indicates keys are retrieved “in ascending chronological order of property creation” when using Object.keys/Object.getOwnPropertyNames: read262.netlify.com/ordinary-and-exotic-objects-behaviours/ordinary-object-internal-methods-and-internal-slots#sec-ordinaryownpropertykeys