9.5.8 [[Get]] (P, Receiver)

Axel Rauschmayer axel at rauschma.de
Thu Nov 27 03:32:45 PST 2014


https://people.mozilla.org/~jorendorff/es6-draft.html#sec-proxy-object-internal-methods-and-internal-slots-get-p-receiver <https://people.mozilla.org/~jorendorff/es6-draft.html#sec-proxy-object-internal-methods-and-internal-slots-get-p-receiver>

Quoting the spec (I’ve marked two typos):

* The value reported for a property must be the same as the value of the corresponding target object property if the target object property is a non-writable, non-configurable data property.

* The value reported for a property must be undefined if the corresponding corresponding [typo: mentioned twice] target object property is [typo: missing “a”] non-configurable accessor property that has undefined as its `[[Get]]` attribute.

Suggestion: mention in both cases that the property is an own property of the target.

-- 
Dr. Axel Rauschmayer
axel at rauschma.de
rauschma.de

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20141127/985402ed/attachment.html>


More information about the es-discuss mailing list