Bob, it's not clear that you understood what Alexander said about the
lookup. Object.assign contains 2 names. 'Object' needs to be looked up in
all the execution contexts chain, starting with the current execution
context, until the global Object function is found. Then the 'assign'
property must be found on that object (it might have been deleted since it
is configurable). The syntactic form doesn't require these lookups.

Regarding `Object.assign({}, a, b)`, the empty object can inherit a setter
which would be called.
es-discuss mailing list

Reply via email to