title: How do you set and get values with Chrome.Storage?
body: <p>I'm trying to do a very simple setting and retrieving with a Google Chrome extension using chrome.storage.local</p>
  
  <p>I have the part to set it:</p>
  
  <pre><code>chrome.storage.local.set({"myValue": "All the data I need"});
  </code></pre>
  
  <p>I just don't understand how to retrieve it.</p>
  
  <pre><code>alert(chrome.storage.local.get("myValue"));
  </code></pre>
  
  <p>I've read <a href="https://developer.chrome.com/extensions/storage" rel="nofollow">https://developer.chrome.com/extensions/storage</a> the part that's confusing me is why there is supposed to be a function as part of storage.local.get</p>