Tom Van Cutsem (2013-12-07T18:53:26.000Z)
domenic at domenicdenicola.com (2013-12-10T15:54:18.631Z)
I share your concern (I already got confused when there were just Object.gOPN and Object.keys), but I'm skeptical that we can break the behavior of existing Object.* methods. You actually forgot Reflect.enumerate, which returns an iterator for all the own and inherited enumerable properties ;-) Perhaps one easy to remember distinction is that the Object.\* methods return arrays whereas the newer Reflect.\* methods return iterators (or iterables).
domenic at domenicdenicola.com (2013-12-10T01:47:51.116Z)
I share your concern (I already got confused when there were just Object.gOPN and Object.keys), but I'm skeptical that we can break the behavior of existing Object.* methods. You actually forgot Reflect.enumerate, which returns an iterator for all the own and inherited enumerable properties ;-) Perhaps one easy to remember distinction is that the Object.* methods return arrays whereas the newer Reflect.* methods return iterators (or iterables).