title: How to get the value mapping of a Chrome local storage result through an argument?
body: <p>I have a function:</p>
  
  <pre><code>            //  Get the value out of Chrome local storage
          chrome.storage.local.get(sourcePath, function(result) {
                  //  Test the result
              alert(JSON.stringify(result.sourcePath));
              });
  </code></pre>
  
  <p>And a call to check it:</p>
  
  <pre><code>chrome.storage.local.set({'userAcceptanceAgreement': true});
  </code></pre>
  
  <p>Right now, I would like to know how to get my function, when called with the above argument, to pass that value into the <code>result.sourcePath</code> alert.  As is, it shows <code>result</code> with the correct storage value of <code>{'userAcceptanceAgreement': true}</code>, but <code>result.sourcePath</code> comes up as undefined because it isn't trying to locate the key:value pair for the argument, but for a literal <code>sourcePath</code>.</p>