how to change value of a key in an object conditionally code example Example: js conditional object property const a = { ...(someCondition && {b: 5}) }