1 of 7

Object.observe

Champion: Erik Arvidsson

2 of 7

Less allocations

The change records can be skipped

Object.observe(obj, callback, {

skipRecords: true

});

3 of 7

New API

Old:

Object.observe(obj, callback,

acceptTypes)

4 of 7

New API

Old:

Object.observe(obj, callback,

acceptTypes)

New:

Object.observe(obj, callback, options)

5 of 7

New API - options

{

skipRecords = false,

acceptTypes = [

"add", "update", "delete", "reconfigure",

"setPrototype", "preventExtensions"

]

}

6 of 7

Updated spec

  • New API
  • Core algorithms updated to latest ES6 draft
  • Ecmarkup
  • Ecmarkdown
  • On GitHub

7 of 7

TODO

  • Update/add array methods to match ES6
  • Clean up non normative text
  • Job scheduling