title: Chrome Extension - Storage Set Specific Key In Object Without Override The Rest Of The Object?
body: <p>I have this obejct in storage</p>
  <pre><code>chrome.storage.sync.set({
          user: {
              extensionMode: &quot;filter&quot;,
              list: [&quot;42&quot;, &quot;42&quot;, &quot;42&quot;]
          }
      }, () =&gt; { });
  </code></pre>
  <p>Now, in a different place, I want to change the <em>extensionMode</em>:</p>
  <pre><code>chrome.storage.sync.set({user: { extensionMode: wantedMode }}, () =&gt; { });
  </code></pre>
  <p>That's overwriting <em>user.list</em> .
  How can I change just <em>extensionMode</em> without overwriting the rest of <em>user</em>?</p>