Here, set denotes the property-access mechanism that modifies a value, not a collection. JavaScript distinguishes data properties, which store values directly, from accessor properties, whose [[Set]] attribute supplies code for modifying a value. section 5.2
A setter belongs to an accessor property's descriptor and is mutually exclusive with [[Value]]. A data property instead uses [[Writable]] to determine whether assignment can change its stored value. section 5.2 section 5.2.3
Accessor assignment
An object can expose contents through get and set functions: assigning drawer.contents invokes the setter, which updates _contents; reading drawer.contents invokes the getter. Its descriptor reports get and set functions, but no value.
Do not confuse set with writability. Assigning to a non-writable data property silently fails in sloppy mode and throws in strict mode, while configurable controls deletion and descriptor changes. section 5.2.3


















