this code add the property to object in line 494 , supportedModes: { get: function() { return pinModes[state.addr].modes; } }