title: Returning Multiple Argument Values in Google App Script
body: <p>I'm currently building a sheet which institutes a modal/sidebar. My issue is that I really need multiple values passed from a function in my *.gs file.</p>
  
  <p>Currently I know I can implement this:</p>
  
  <pre><code>google.script.run.withSuccessHandler(myFunction).gasFunction('argument value');
  </code></pre>
  
  <h2>Index.html</h2>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;&lt;/head&gt;
  &lt;body&gt;
  &lt;script&gt;
      var hello = 'Not Working';
      google.script.run.withSuccessHandler(indexLog).logMe('hello');
      function indexLog(hello) {
          console.log(hello);
      }
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <h2>GAS SCRIPT</h2>
  
  <pre><code>function logMe(hello) {
      return  hello;
  }
  </code></pre>
  
  <p>So I'm in a position where I'm running a continuous method multiple times in order to return all arguments needed, ie.</p>
  
  <pre><code>google.script.run.withSuccessHandler(indexLog).logMe('value 1');
  google.script.run.withSuccessHandler(indexLog).logMe('value 2');
  google.script.run.withSuccessHandler(indexLog).logMe('value 2');
  </code></pre>
  
  <p><strong>My values would be cell references, but I need a range not a single cell value</strong></p>
  
  <p>I'm then taking those values and would like to build an array from those to iterate the values across my for loop function correctly.</p>
  
  <p>Thanks in advance!</p>