Set an own property, even for the key __proto__, where a plain
assignment would change the object's prototype instead.
Every other key uses a plain assignment, so existing property attributes
are kept (e.g. writing an array's non-configurable length truncates it).
Set an own property, even for the key
__proto__, where a plain assignment would change the object's prototype instead. Every other key uses a plain assignment, so existing property attributes are kept (e.g. writing an array's non-configurablelengthtruncates it).