My task is to add or remove object pair to an single object on particular user action;
exmaple:
const myObj = {}; considr there is 3 buttons, button1,