The handler.set() method is a trap for the [[Set]] object internal method, which is used by operations such as using property accessors to set a property's value.| developer.mozilla.org